
CVE catalog
CVE-2026-46374
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 li
- Severity
- High · CVSS 7.5
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.26% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | sqlfluff | sid | 4.3.0-2 | fixed |
| Debian | sqlfluff | forky | 4.3.0-2 | fixed |
| Debian | sqlfluff | trixie | 3.3.1-1 | vulnerable |
| Debian | sqlfluff | bookworm | 1.4.5-2 | vulnerable |
| Cpe | sqlfluff | Not reported | Not reported | vulnerable |
| Cpe | sqlfluff | Not reported | 4.2.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | sqlfluff | source | sid | 4.3.0-1 | not yet assigned | Not reported | [1139640] |
| Debian | sqlfluff | source | forky | 4.3.0-1 | not yet assigned | Not reported | [1139640] |
| Debian | sqlfluff | source | trixie | (unfixed) | not yet assigned | Not reported | [1139640] |
| Debian | sqlfluff | source | bookworm | (unfixed) | not yet assigned | Not reported | [1139640] |
| Cpe | sqlfluff | cpe | Not reported | 4.2.0 | Not reported | Not reported | Not reported |
Notes
[trixie] sqlfluff: Minor issue [bookworm] sqlfluff: Parser resource-exhaustion DoS, only reachable where untrusted SQL is linted; upstream fix adds new parse limits that do not apply to the pre-3.0 parser in 1.4.5
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [sqlfluff]Affected
Details (2)
1.4.5-2· all · bookwormAffected
nvd · sqlfluff · debian · bookworm; nvd · sqlfluff · debian · 12
1.4.5-2· all · bookwormAffected
nvd · sqlfluff · debian · bookworm; nvd · sqlfluff · debian · 12
- [sqlfluff-doc]Affected
Source package: [sqlfluff]
Details (2)
1.4.5-2· all · bookwormAffected
nvd · sqlfluff · debian · bookworm; nvd · sqlfluff · debian · 12
1.4.5-2· all · bookwormAffected
nvd · sqlfluff · debian · bookworm; nvd · sqlfluff · debian · 12
[Debian 13 (Trixie)]
- [sqlfluff]Affected
Details (2)
3.3.1-1· all · trixieAffected
nvd · sqlfluff · debian · 13
3.3.1-1· all · trixieAffected
nvd · sqlfluff · debian · 13
- [sqlfluff-doc]Affected
Source package: [sqlfluff]
Details (2)
3.3.1-1· all · trixieAffected
nvd · sqlfluff · debian · 13
3.3.1-1· all · trixieAffected
nvd · sqlfluff · debian · 13
Observed: