Code Injection in JSONSchema2PoPo2 Affects Python Development
CVE-2026-137999
8.5HIGH
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
