# CVE-2026-137999: JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-27T16:10:16.972Z
- Modified: 2026-11-30T18:18:46.103Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- MikeDombo JSONSchema2PoPo2: up to 3.0.3

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MikeDombo/JSONSchema2PoPo2/issues/24> (exploit, issue-tracking)
- <https://github.com/MikeDombo/JSONSchema2PoPo2/pull/25> (issue-tracking, patch)
- <https://github.com/MikeDombo/JSONSchema2PoPo2/commit/cdb00f607a149f75b79a0f342b5881fd49ab4667> (patch)
- <https://github.com/MikeDombo/JSONSchema2PoPo2/blob/54c3f5f43729c5d98a537a6441f8eda5e3b4e119/jsonschema2popo/python/python_class.tmpl#L70> (technical-description)
- <https://www.vulncheck.com/advisories/jsonschema2popo2-through-3.0.3-code-injection-via-python-class-tmpl-template> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-137999](https://www.cve.org/CVERecord?id=CVE-2026-137999), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-137999](https://nvd.nist.gov/vuln/detail/CVE-2026-137999), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-137999 · Whole record: https://cve.day/CVE-2026-137999.json · Rebuilt by cve.day 2026-11-30T18:32:27.008Z
