Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/MikeDombo/JSONSchema2PoPo2/blob/54c3f5f43729c5d98a537a6441f8e
- https://github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5
- https://github.com/MikeDombo/JSONSchema2PoPo2/issues/24
- https://github.com/MikeDombo/JSONSchema2PoPo2/pull/25
- https://www.vulncheck.com/advisories/jsonschema2popo2-through-3.0.3-code-injecti
FAQ
What is CVE-2026-137999?
CVE-2026-137999 is a vulnerability with a CVSS score of 7.8 (HIGH). 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. Attacke...
How severe is CVE-2026-137999?
CVE-2026-137999 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137999?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.