{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-137999","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-27T15:59:22.516Z","datePublished":"2026-11-27T16:10:16.972Z","dateUpdated":"2026-11-30T17:44:32.207Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-27T16:10:16.972Z"},"datePublic":"2026-11-25T00:00:00.000Z","title":"JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94","type":"CWE"}]}],"affected":[{"vendor":"MikeDombo","product":"JSONSchema2PoPo2","defaultStatus":"unaffected","versions":[{"version":"0","lessThanOrEqual":"3.0.3","status":"affected","versionType":"semver"}],"packageURL":"pkg:pypi/jsonschema2popo2","repo":"https://github.com/MikeDombo/JSONSchema2PoPo2"}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"references":[{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/issues/24","tags":["issue-tracking"]},{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/pull/25","tags":["issue-tracking","patch"]},{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5881fd49ab4667","tags":["patch"]},{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/blob/54c3f5f43729c5d98a537a6441f8eda5e3b4e119/jsonschema2popo/python/python_class.tmpl#L70","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/jsonschema2popo2-through-3.0.3-code-injection-via-python-class-tmpl-template","name":"VulnCheck Advisory: JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Dilanka Kaushal Hewage (r3vpwnx)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"references":[{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/issues/24","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-30T17:43:05.436558Z","id":"CVE-2026-137999","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-30T17:44:32.207Z"}}]}}