CVE-2026-46374
HIGH 7.5CVSS 3.1SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser
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.
- Published
- 9 Jun 2026
- Last modified
- 23 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-73jc-5mrq-prw7PYSEC-2026-210
- Sources
- NVDJSONOSV GHSA-73jc-5mrq-prw7JSONOSV PYSEC-2026-210JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sqlfluff | sqlfluffcpe:2.3:a:sqlfluff:sqlfluff:*:*:*:*:*:*:*:* |
< 4.2.0 | 4.2.0 |
| OSV | PyPI | sqlfluff | < 4.2.0 | 4.2.0 |
References
- https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-73jc-5mrq-prw7 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-46374 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/sqlfluff/PYSEC-2026-210.yaml · WEB
- https://github.com/sqlfluff/sqlfluff · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 9 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 May 2026)