CVE-2026-59894 Details
UNDERGOING ENRICHMENT
The CVE is currently being enriched by the Volerion team. The enrichment process results in the association of reference link tags, CVSS, and CPE applicability statement data.
Description
sqlparse 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.
Metrics
CVSS 4.0 Severity and Vector Strings:
VolerionCVSS-B:…Vector:This vulnerability is currently being analyzed.CVSS 3.x Severity and Vector Strings:
VolerionCVSS-B:…Vector:This vulnerability is currently being analyzed.No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-3496-9g83-7v6x | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
This vulnerability is currently being analyzed
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 17, 2026 | CVE Modified | CISA-ADP |
| Aug 17, 2026 | New CVE Received | [email protected] |