CVE-2026-84305
Last modified
CVE-2026-84305 is a medium-severity vulnerability rated 5.1/10 on the CVSS scale. sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse.format(sql, reindent=True) and sqlformat --reindent route attacker-controlled parenthesized tuple lists through ReindentFilter._get_offset() in sqlparse/filters/reindent.py, where _flatten_up_to_token() repeatedly rebuilds and joins the statement prefix.
Description
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse.format(sql, reindent=True) and sqlformat --reindent route attacker-controlled parenthesized tuple lists through ReindentFilter._get_offset() in sqlparse/filters/reindent.py, where _flatten_up_to_token() repeatedly rebuilds and joins the statement prefix. Thousands of offset calculations walk an expanding token tree, producing quadratic CPU consumption for inputs that remain below MAX_GROUPING_TOKENS and causing request delays, reduced throughput, or worker starvation. This issue is fixed in version 0.6.0.
Metrics
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/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
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| andialbrecht | sqlparse | < 0.6.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-84305?
How severe is CVE-2026-84305?
How do I fix CVE-2026-84305?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-84270A flaw was found in the MTP backend in gvfs. When reading a …4.3
- CVE-2026-8428Concrete CMS 9.5.0 and below emits a CSRF token in the local…8.8
- CVE-2026-8429SPIP versions prior to 4.4.14 contain a remote code executio…8.8
- CVE-2026-8430SPIP versions prior to 4.4.14 contain a remote code executio…9.2
- CVE-2026-84303gRPC-Go is the Go language implementation of gRPC. Prior to …6.3
- CVE-2026-84304gRPC-Go is the Go language implementation of gRPC. Prior to …8.7
- CVE-2026-84306Filament is a collection of full-stack components for accele…6.5
- CVE-2026-8431An administrative user with access to configure webhooks can…9.4
- CVE-2026-8432Concrete CMS 9 before 9.5.0 is vulnerable to Cross Site Requ…8.8
- CVE-2026-8433Concrete CMS 9 before 9.5.0 is vulnerable to Cross Site Requ…8.8
- CVE-2026-8434Concrete CMS 9 before 9.5.0 is vulnerable to Cross Site Requ…8.8
- CVE-2026-8435Concrete CMS 9 before 9.5.0 is vulnerable to Cross Site Requ…6.5
Are you affected by CVE-2026-84305?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
