sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, group_comments in sqlparse/engine/grouping.py repeatedly rescans comment-only statements before the MAX_GROUPING_TOKENS guard, causing quadratic CPU consumption through sqlparse.parse() and sqlparse.format(sql, strip_comments=True). This issue is fixed in version 0.6.0.
CVE-2026-71491
This high-severity CVE scores 8.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3% (16th percentile of EPSS-scored CVEs). 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
A fix is available — apply it.
- CVSS v3
- 8.7
- EG Score
- 8.7HIGHmedium confidence
- EG Risk
- 54EG Risk 54/100CISA SSVC
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 computedSeverity87% × 45%Exploitation0% × 40%Automatability100% × 15%CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.3%
- EPSS %ILE
- 16th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 17, 2026
Last Modified
September 9, 2026
Advisory Details (2)
Auto-updated Aug 17, 2026commit ef2012a5eeb4 (andialbrecht/sqlparse)
Fix landed in andialbrecht/sqlparse commit ef2012a5eeb4 — awaiting tagged release
https://github.com/andialbrecht/sqlparse/commit/ef2012a5eeb491e604dea2b00d516904a3830c87Quadratic O(n²) DoS in group_comments · Advisory · andialbrecht/sqlparse · GitHub
https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-f2ff-p2ww-7p4pVendor Advisories for CVE-2026-71491(14)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:74505Red Hat Product SecurityCritical
Red Hat Security Advisory: Satellite 6.17.12 Async Update
- RHSA-2026:74504Red Hat Product SecurityCritical
Red Hat Security Advisory: Satellite 6.18.10 Async Update
- RHSA-2026:74503Red Hat Product SecurityCritical
Red Hat Security Advisory: Satellite 6.19.5 Async Update
- RHSA-2026:71210Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Container Release Update
- RHSA-2026:71179Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Container Release Update
- RHSA-2026:71114Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
- RHSA-2026:71177Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.7 Container Release Update
- RHSA-2026:71113Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
- +6 more
Patch Availability(13)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | sqlformat (0.1.18-1ubuntu0.1~esm1) @ xenial | 2026-10-04 | ubuntu |
| redhat | python-sqlparse-0:0.6.0-1.el9pc | 2026-10-01 | redhat |
| redhat | satellite/iop-advisor-backend-rhel9:1789666498 | 2026-10-01 | redhat |
| redhat | satellite/iop-advisor-backend-rhel9:1789666499 | 2026-10-01 | redhat |
| redhat | python3.12-sqlparse-0:0.6.0-1.el9pc | 2026-10-01 | redhat |
| redhat | python3.12-sqlparse-0:0.6.0-1.el9ap | 2026-09-23 | redhat |
| redhat | ansible-automation-platform-25/lightspeed-rhel8:1789685837 | 2026-09-23 | redhat |
| redhat | ansible-automation-platform-tech-preview/metrics-service-rhel9:1789654558 | 2026-09-23 | redhat |
| redhat | ansible-automation-platform-27/hub-rhel9:1789572632 | 2026-09-23 | redhat |
| redhat | rhoai/odh-training-cuda128-torch29-py312-rhel9:1789529851 | 2026-09-21 | redhat |
| redhat | discovery/discovery-server-rhel9:1789675186 | 2026-09-21 | redhat |
| redhat | ansible-automation-platform-27/metrics-service-rhel9:1788917058 | 2026-09-14 | redhat |
| redhat | discovery/discovery-server-rhel9:1788205779 | 2026-08-31 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| sqlparse | 0.4.2-1 ... 0.5.5-2 (11 versions) |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| sqlparse | 0.5.3-1, 0.5.4-1, 0.5.5-1, 0.5.5-2 |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| sqlparse | 0.5.3-1, 0.5.4-1, 0.5.5-1, 0.5.5-2 |
| — |
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| sqlparse | 0.1.0 ... 0.5.5 (38 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(3)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 19× in last 7d / 97× 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.
Showing the most recent 100 of 142 total refreshes for this CVE.
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-04 21:49 UTCVendor advisory
- 2026-10-04 05:51 UTCVendor advisory
- 2026-10-03 17:48 UTCEG score recompute
- 2026-10-03 17:48 UTCVendor advisory
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 15:45 UTCVendor advisory
- 2026-10-02 01:34 UTCEG score recompute
- 2026-10-02 01:34 UTCVendor advisory
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-10-01 10:07 UTCVendor advisory
- 2026-09-30 22:03 UTCEG score recompute
- 2026-09-30 22:03 UTCVendor advisory
- 2026-09-30 15:03 UTCEPSS rescore
- 2026-09-30 10:00 UTCEG score recompute
- 2026-09-30 10:00 UTCVendor advisory
- 2026-09-28 21:59 UTCEG score recompute
- 2026-09-28 21:59 UTCVendor advisory
- 2026-09-28 13:52 UTCEPSS rescore
- 2026-09-28 09:44 UTCVendor advisory
- 2026-09-27 21:40 UTCEG score recompute
- 2026-09-27 21:40 UTCVendor advisory
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-27 08:06 UTCEG score recompute
- 2026-09-27 08:06 UTCVendor advisory
Show 75 moreShow fewer
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-25 04:18 UTCVendor advisory
- 2026-09-24 16:14 UTCEG score recompute
- 2026-09-24 16:14 UTCVendor advisory
- 2026-09-24 03:00 UTCEG score recompute
- 2026-09-24 03:00 UTCVendor advisory
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-23 14:56 UTCVendor advisory
- 2026-09-23 02:51 UTCEG score recompute
- 2026-09-23 02:51 UTCVendor advisory
- 2026-09-22 14:47 UTCVendor advisory
- 2026-09-22 02:39 UTCEG score recompute
- 2026-09-22 02:39 UTCVendor advisory
- 2026-09-21 21:09 UTCEPSS rescore
- 2026-09-21 14:32 UTCVendor advisory
- 2026-09-21 02:19 UTCEG score recompute
- 2026-09-21 02:19 UTCVendor advisory
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-20 14:13 UTCVendor advisory
- 2026-09-20 00:53 UTCEG score recompute
- 2026-09-20 00:53 UTCVendor advisory
- 2026-09-19 12:50 UTCVendor advisory
- 2026-09-19 00:46 UTCEG score recompute
- 2026-09-19 00:46 UTCVendor advisory
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 12:42 UTCVendor advisory
- 2026-09-18 00:18 UTCEG score recompute
- 2026-09-18 00:18 UTCVendor advisory
- 2026-09-17 12:14 UTCVendor advisory
- 2026-09-17 00:10 UTCEG score recompute
- 2026-09-17 00:10 UTCVendor advisory
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 12:06 UTCEG score recompute
- 2026-09-16 12:06 UTCVendor advisory
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-16 00:02 UTCVendor advisory
- 2026-09-15 11:44 UTCEG score recompute
- 2026-09-15 11:44 UTCVendor advisory
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-14 22:28 UTCVendor advisory
- 2026-09-14 10:17 UTCVendor advisory
- 2026-09-13 22:14 UTCEG score recompute
- 2026-09-13 22:14 UTCVendor advisory
- 2026-09-13 10:10 UTCVendor advisory
- 2026-09-12 22:06 UTCEG score recompute
- 2026-09-12 22:06 UTCVendor advisory
- 2026-09-12 15:02 UTCEPSS rescore
- 2026-09-12 10:02 UTCVendor advisory
- 2026-09-11 21:58 UTCEG score recompute
- 2026-09-11 21:58 UTCVendor advisory
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:54 UTCEG score recompute
- 2026-09-11 09:54 UTCVendor advisory
- 2026-09-10 21:47 UTCVendor advisory
- 2026-09-10 09:42 UTCEG score recompute
- 2026-09-10 09:42 UTCVendor advisory
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 21:28 UTCVendor advisory
- 2026-09-09 15:43 UTCVendor advisory
- 2026-09-09 03:39 UTCEG score recompute
- 2026-09-09 03:39 UTCVendor advisory
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-08 04:15 UTCVendor advisory
- 2026-09-07 16:11 UTCEG score recompute
- 2026-09-07 16:11 UTCVendor advisory
- 2026-09-07 01:08 UTCEG score recompute
- 2026-09-07 01:08 UTCVendor advisory
- 2026-09-06 13:48 UTCEPSS rescore
- 2026-09-06 12:46 UTCVendor advisory
- 2026-09-06 00:42 UTCEG score recompute
- 2026-09-06 00:42 UTCVendor advisory
- 2026-09-05 12:37 UTCVendor advisory
- 2026-09-05 00:14 UTCEG score recompute
- 2026-09-05 00:14 UTCVendor advisory
- 2026-09-04 11:09 UTCEG score recompute
Related CVEs(same product + same vendor + same CWE)
Same product
7 shownDebian:12:sqlparse
Same vendor
10 shownredhat:RHSA-2026:61783 · redhat:RHSA-2026:71113 · redhat:RHSA-2026:71112
Frequently asked(5)
What is CVE-2026-71491?
When was CVE-2026-71491 disclosed?
Is CVE-2026-71491 actively exploited?
What is the CVSS score of CVE-2026-71491?
How do I remediate CVE-2026-71491?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-71491
Is Your Infrastructure Affected by CVE-2026-71491?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.