CVE-2026-137999 PUBLISHED

JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template

Assigner: VulnCheck
Reserved: 27.11.2026 Published: 27.11.2026 Updated: 27.11.2026

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.

Metrics

CVSS 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
CVSS Score: 8.5

Product Status

Vendor MikeDombo
Product JSONSchema2PoPo2
Versions Default: unaffected
  • affected from 0 to 3.0.3 (incl.)

Credits

  • Dilanka Kaushal Hewage (r3vpwnx) finder

References

Problem Types

  • Improper Control of Generation of Code ('Code Injection') CWE