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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137999.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "3.0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"introduced": "2PoPo2"
},
{
"last_affected": "3.0.3"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "cdb00f607a149f75b79a0f342b5881fd49ab4667"
}
],
"source": "REFERENCES_COMMIT"
}
]
}