JSONSchema2PoPo2: flaw lets attackers run their own code on the server
CVE-2026-137999 · published 27 Nov 2026
CVE-2026-137999 is a serious security flaw in JSONSchema2PoPo2, rated 7.8 out of 10.
The official 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.
We have no report of attacks yet. Plan the update now, before attackers start.
How to check if you are affected, and how to fix it
The full analysis (affected versions, step-by-step check, fix, what to do if you cannot update yet, and signs of an attack) is free in your SegfaultSec dashboard. You also get an alert when a new vulnerability matches the software on your website.
Read the full analysis