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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 27 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title JSONSchema2PoPo2 through 3.0.3 Code Injection via python_class.tmpl Template
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-27T16:10:16.972Z

Reserved: 2026-11-27T15:59:22.516Z

Link: CVE-2026-137999

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-27T17:17:59.310

Modified: 2026-11-27T17:17:59.310

Link: CVE-2026-137999

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-27T18:00:10Z

Weaknesses