CVE-2026-59894
Patch priority
RegularFix with the next regular update.
- CVSS
- 6.2
- Severity
- 6.2
- EPSS
- 0.1 %
- Percentile
- 3
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
The affected product is not specified yet – the description below usually names it.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDsqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse/filters/output.py fails to escape existing backslashes before quotes in sqlparse.format output_format='python' and output_format='php' and the corresponding sqlformat -l modes, allowing crafted SQL to terminate the generated string and inject Python or PHP code when a downstream consumer executes or imports the generated source. This issue is fixed in version 0.6.0.
- Published
- 17.08.2026
- Modified
- 23.10.2026
- CWE
- CWE-94
- Status
- Deferred
CVSS v4.0 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L/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:X/AU:X/R:X/V:X/RE:X/U:X
Vendor updates
5- SUSE: SUSE-SU-2026:23561-1 – Security update for python-sqlparse 14.09.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:3906-1 – Security update for python3-sqlparse 01.09.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:3907-1 – Security update for python-sqlparse 01.09.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:3910-1 – Security update for python-sqlparse 01.09.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:3762-1 – Security update for python-sqlparse 25.08.2026 · HIGH · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.