CVE-2026-137999
NVD
Vulnerability Summary
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 v4.0 Base Metrics — Score 8.5 (HIGH)
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAttack VectorLocal
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 7.8)
CVSS v3.1 Base Metrics — Score 7.8 (HIGH)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HAttack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- MikeDombo JSONSchema2PoPo2 <= 3.0.3
- MikeDombo JSONSchema2PoPo2 3.0.3
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run MikeDombo JSONSchema2PoPo2 and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 27, 2026Published
- Nov 27, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new MikeDombo JSONSchema2PoPo2 CVEsYou are reading CVE-2026-137999. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://github.com/MikeDombo/JSONSchema2PoPo2/issues/24
- Patchhttps://github.com/MikeDombo/JSONSchema2PoPo2/pull/25
- Patchhttps://github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5881fd49ab4667
- Referencehttps://github.com/MikeDombo/JSONSchema2PoPo2/blob/54c3f5f43729c5d98a537a6441f8eda5e3b4e119/jsonschema2popo/python/python_class.tmpl#L70
- Referencehttps://www.vulncheck.com/advisories/jsonschema2popo2-through-3.0.3-code-injection-via-python-class-tmpl-template
Data last checked: Nov 30, 2026 00:09 UTC