{"id":"CVE-2026-137999","aliases":["CVE-2026-137999"],"related":[],"kind":"vulnerability","state":"published","title":"JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-27T16:10:16.972Z","modified":"2026-11-30T18:18:46.103Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"3.0.3","status":"affected"}],"vendor":"MikeDombo","product":"JSONSchema2PoPo2","repo":"https://github.com/MikeDombo/JSONSchema2PoPo2","source":"cvelist"}],"references":[{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/issues/24","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/pull/25","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5881fd49ab4667","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/blob/54c3f5f43729c5d98a537a6441f8eda5e3b4e119/jsonschema2popo/python/python_class.tmpl#L70","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/jsonschema2popo2-through-3.0.3-code-injection-via-python-class-tmpl-template","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Dilanka Kaushal Hewage (r3vpwnx)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-30T17:43:05.436Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137999","url":"https://www.cve.org/CVERecord?id=CVE-2026-137999","licence":"CVE Terms of Use","modified":"2026-11-30T17:44:32.207Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137999","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137999","licence":"Public domain","modified":"2026-11-30T18:18:46.103Z"}],"updatedAt":"2026-11-30T18:32:27.008Z","epss":{"score":0.00479,"percentile":0.43001,"date":"2026-12-01T12:00:22.000Z"}}