Skip to main content

Jsonschema2Popo2

1 CVEs product

Monthly

CVE-2026-137999 Nov 27, 16:10 HIGH PATCH This Week

Code injection in JSONSchema2PoPo2 through 3.0.3 lets a crafted JSON Schema smuggle Python statements into the generated class file, which execute when that generated module is imported. The root cause is CWE-94: schema-supplied values (string defaults, format, pattern, validations, enum values and descriptions) were pasted into the generated source unescaped, so a single quote inside a string property default breaks out of the literal in the generated __init__ signature; the same escaping gap affected the JavaScript and Go backends. Exposure is confined to the code generation workflow rather than a deployed service, since the flaw requires someone to run the generator against the malicious schema and then import the resulting module (CVSS 4.0 AV:L, UI:P, no privileges required); no public exploit code was identified at time of analysis and the issue is not in CISA KEV. Vendor-released patch: 3.1.0.

RCE Python Code Injection Jsonschema2Popo2
NVD GitHub VulDB
CVSS 4.0
8.5
EPSS
0.3%
EPSS 0% CVSS 8.5
HIGH PATCH This Week

Code injection in JSONSchema2PoPo2 through 3.0.3 lets a crafted JSON Schema smuggle Python statements into the generated class file, which execute when that generated module is imported. The root cause is CWE-94: schema-supplied values (string defaults, format, pattern, validations, enum values and descriptions) were pasted into the generated source unescaped, so a single quote inside a string property default breaks out of the literal in the generated __init__ signature; the same escaping gap affected the JavaScript and Go backends. Exposure is confined to the code generation workflow rather than a deployed service, since the flaw requires someone to run the generator against the malicious schema and then import the resulting module (CVSS 4.0 AV:L, UI:P, no privileges required); no public exploit code was identified at time of analysis and the issue is not in CISA KEV. Vendor-released patch: 3.1.0.

RCE Python Code Injection +1
NVD GitHub VulDB

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy