sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, SQL_REGEX in sqlparse/keywords.py and the per-position loop in sqlparse/lexer.py repeatedly scan unmatched dollar-quoted literal and multiline-comment delimiters, causing quadratic CPU consumption through sqlparse.parse(), sqlparse.format(), and sqlparse.split(). This issue is fixed in version 0.6.0.
CVE-2026-59893
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 80% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 65(Attend)EG Risk 65/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 0%
- EPSS %ILE
- 20%
- KEV
- Not listed
Published
August 17, 2026
Last Modified
August 17, 2026
Advisory Details (2)
Auto-updated Aug 17, 2026commit d1d80602741f (andialbrecht/sqlparse)
Fix landed in andialbrecht/sqlparse commit d1d80602741f — awaiting tagged release
https://github.com/andialbrecht/sqlparse/commit/d1d80602741f77ec78e5a04ce4719244cf32352eInefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (Denial of Service) · Advisory · andialbrecht/sqlparse · GitHub
https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-prg7-hcfm-mfcrVendor Advisories for CVE-2026-59893(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 12× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-21 01:20 UTCEG score recompute
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 03:05 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 17:49 UTCEG score recompute
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 06:31 UTCEG score recompute
- 2026-08-17 19:27 UTCEG score recompute
- 2026-08-17 19:12 UTCEG score recompute
- 2026-08-17 18:29 UTCEG score recompute
- 2026-08-17 17:45 UTCEG score recompute
- 2026-08-17 17:44 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-59893?
When was CVE-2026-59893 disclosed?
Is CVE-2026-59893 actively exploited?
What is the CVSS score of CVE-2026-59893?
How do I remediate CVE-2026-59893?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-59893
Is Your Infrastructure Affected by CVE-2026-59893?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.