PyPI
CVE-2026-137999
JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template
- Severity
- High 8.5
- Published
- 27 Nov 2026
- Last changed
- 27 Nov 2026
- Added to UpHeron
- 27 Nov 2026
- Exploit chance
- 0.3% in the next 30 daysHigher than 13% of CVEs. EPSS by FIRST, 29 Nov 2026
- Weakness
- Code injection (CWE-94)
- Attack
- Needs local access · No login needed · Needs someone to view a page or file
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
jsonschema2popo2PyPI · osv:PyPI:jsonschema2popo2 |
|
About jsonschema2popo2
- Weekly downloads (PyPI)
- 490PyPI Stats, 27 Nov 2026
This is the only vulnerability in jsonschema2popo2 in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-137999