High severity7.8NVD Advisory· Published Nov 27, 2026
CVE-2026-137999
CVE-2026-137999
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 products
1- Range: <=3.0.3
Patches
Vulnerability mechanics
References
5- github.com/MikeDombo/JSONSchema2PoPo2/blob/54c3f5f43729c5d98a537a6441f8eda5e3b4e119/jsonschema2popo/python/python_class.tmplnvd
- github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5881fd49ab4667nvd
- github.com/MikeDombo/JSONSchema2PoPo2/issues/24nvd
- github.com/MikeDombo/JSONSchema2PoPo2/pull/25nvd
- www.vulncheck.com/advisories/jsonschema2popo2-through-3.0.3-code-injection-via-python-class-tmpl-templatenvd
News mentions
0No linked articles in our index yet.