Skip to content

CVE-2026-137999 JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template

HighCVSS 8.5 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

JSONSchema2PoPo2 through 3.0.3 contains a code injection vulnerability that allows attackers to inject Python code by supplying JSON Schema default or format values that are written unescaped. Attackers can place a single quote in a string property default to break out of the literal in the generated init signature, executing injected code when the generated module is imported.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
pypi jsonschema2popo2 <= 3.0.3 after 3.0.3 Fixed

Affected products

ProductAffected versionsFixed in
pypi jsonschema2popo2 <= 3.0.3 No fix listed

References