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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi jsonschema2popo2 | <= 3.0.3 | after 3.0.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi jsonschema2popo2 | <= 3.0.3 | No fix listed |
References
- github.com exploit issue-tracking
- github.com issue-tracking patch
- github.com patch
- github.com technical-description
- VulnCheck Advisory: JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template third-party-advisory
- ENISA EUVD EUVD-2026-137349 third-party-advisory
- nvd.nist.gov