Code Injection in JSONSchema2PoPo2 Affects Python Development
CVE-2026-137999

8.5HIGH

Key Information:

Vendor

Mikedombo

Vendor
CVE Published:
27 November 2026

What is CVE-2026-137999?

JSONSchema2PoPo2 through version 3.0.3 features a vulnerability that enables attackers to perform code injection via improperly handled JSON Schema values. Specifically, by supplying unescaped default or format values containing a single quote, an attacker can compromise the generated init method signature of Python modules. This flaw allows for the execution of arbitrary Python code upon importing the generated module, posing risks to applications relying on this library for JSON-schema-based code generation.

Affected Version(s)

JSONSchema2PoPo2 0 <= 3.0.3

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Dilanka Kaushal Hewage (r3vpwnx)
.