P2 · HighCVSS 7.8EPSS 0.5%
JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template
- CVE-2026-137999
- GHSA-qjhw-792c-66p4
- EUVD-2026-137349
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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
MikeDombo JSONSchema2PoPo2
Affected versions Fixed in up to 3.0.3 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.