{"id":"CVE-2026-137999","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-137999","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…","details":"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.","published":"2026-11-27T17:17:59.310","modified":"2026-11-27T17:17:59.310","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[],"fix":{"url":"https://github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5881fd49ab4667","label":"MikeDombo/JSONSchema2PoPo2@cdb00f6"},"references":[{"type":"WEB","url":"https://github.com/MikeDombo/JSONSchema2PoPo2/blob/54c3f5f43729c5d98a537a6441f8eda5e3b4e119/jsonschema2popo/python/python_class.tmpl#L70"},{"type":"WEB","url":"https://github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5881fd49ab4667"},{"type":"WEB","url":"https://github.com/MikeDombo/JSONSchema2PoPo2/issues/24"},{"type":"WEB","url":"https://github.com/MikeDombo/JSONSchema2PoPo2/pull/25"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/jsonschema2popo2-through-3.0.3-code-injection-via-python-class-tmpl-template"}],"provenance":{"sources":["OSV.dev","NVD","FIRST.org (EPSS)"],"lastVerified":"2026-11-27T17:17:59.310"}}