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

Vulnerability · Reported by NVD · · CWE-94

Severity
High Risk score 85/100
CVSS
8.5 v4.0 · from NVD
Exploit chance (EPSS)
0.28% Higher than 13% of CVEs
Known exploited
No Not in CISA KEV

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.

How this vulnerability can be exploited

This is a code injection flaw (CWE-94). An attacker can exploit this vulnerability with local access to the system, without any login. Attack complexity is low, so no special conditions are needed.

Is it being exploited?

The EPSS model estimates a 0.28% chance this CVE will be exploited in the next 30 days, which is low and higher than 13% of all published CVEs.

Patch priority and what to do

Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S

See what each part means in the official CVSS calculator ↗

Tags

CVE-2026-137999

Sources & references

How this data is collected: methodology & sources.

Run this software? Get free alerts for new vulnerabilities →

Need to block attackers? Free hourly IOC blocklists (IPs, domains, URLs, hashes) →

Open the live threat dashboard →

Subscribe via RSS.