SQLFluff: Uncontrolled Resource Consumption in Parser
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
SQLFluff is a modular SQL linter and auto-formatter with support for multiple dialects and templated code. Prior to version 4.2.0, in deployments where untrusted users can provide SQL queries to be linted, an untrusted user can submit a malicious long query to any application using the parser to trigger a Denial of Service through resource exhaustion. This issue has been patched in version 4.2.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sqlfluff | sqlfluff | before 4.2.0 | 4.2.0 | Patch available | CNA |
| — | sqlfluff (PyPI) | before 4.2.0 | 4.2.0 | Patch available | GHSA-73jc-5mrq-prw7 |
- sqlfluff Vendorsqlfluff Affected before 4.2.0 Fixed in 4.2.0 Patch available CNA
- sqlfluff (PyPI) Vendor— Affected before 4.2.0 Fixed in 4.2.0 Patch available GHSA-73jc-5mrq-prw7
Remediation
- Fix · CNA sqlfluff (sqlfluff) Fixed in 4.2.0
- Fix · GHSA-73jc-5mrq-prw7 sqlfluff (PyPI) Fixed in 4.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46374
- 2026-10-03 Alias added: GHSA-73jc-5mrq-prw7
References
More Sqlfluff vulnerabilities
- TI-2026-34090 SQLFluff: Recursive Stack Overflow in Parser CVSS 3.1HIGH 7.5
- TI-2023-18624 SQLFluff vulnerability for users with access to config file, using `library_path` to call arbitrary python code. CVSS 3.1HIGH 7.8
Sources
- CVE-2026-46374 · CVE Program
- CVE-2026-46374 · NVD
- FIRST EPSS
- GHSA-73jc-5mrq-prw7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences