JSONSchema2PoPo2 through 3.0.3 contains a code injection vulnerability that allows attackers to inject Python code by
Source GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 27 Nov 2026, 20:01 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MikeDomboJSONSchema2PoPo2 | Affected
| Fixed in– |
PyPIJSONSchema2PoPo2pkg:pypi/JSONSchema2PoPo2Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid importing modules generated by JSONSchema2PoPo2 versions up to 3.0.3 with untrusted JSON Schema inputs. Monitor vendor advisories for updates and apply patches once released.
Description
JSONSchema2PoPo2 versions up to 3.0.3 have a code injection vulnerability. This flaw allows attackers to inject arbitrary Python code by supplying malicious JSON Schema default or format values that are not properly escaped. Specifically, an attacker can insert a single quote in a string property default, breaking out of the literal in the generated __init__ method signature. This leads to execution of injected code when the generated module is imported.
References
- nvd.nist.gov/vuln/detail/CVE-2026-137999 (opens in a new tab)
- github.com/MikeDombo/JSONSchema2PoPo2/issues/24 (opens in a new tab)
- github.com/MikeDombo/JSONSchema2PoPo2/pull/25 (opens in a new tab)
- github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5881fd49ab4667 (opens in a new tab)
- github.com/MikeDombo/JSONSchema2PoPo2/blob/54c3f5f43729c5d98a537a6441f8eda5e3b4e119/jsonschema2popo/python/python_class.tmpl (opens in a new tab)
- vulncheck.com/advisories/jsonschema2popo2-through-3.0.3-code-injection-via-python-class-tmpl-template (opens in a new tab)