CVE-2026-46373Sqlfluff
High 7.5 No auth needed
Follow: this CVE · Sqlfluff · Sqlfluff We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 9, 2026
- Updated
- Jul 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
SQLFluff is a modular SQL linter and auto-formatter with support for multiple dialects and templated code. Prior to version 4.1.0, in deployments where untrusted users can provide SQL queries to be linted, an untrusted user can submit a malicious query with deliberate excessive nesting to any application using the parser to trigger a Denial of Service through resource exhaustion. This issue has been patched in version 4.1.0.
What to do
- Apply the vendor's security update for Sqlfluff.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | sqlfluff |
< 4.1.0 |
4.1.0 |
pip install "sqlfluff>=4.1.0" |
| PyPI | sqlfluff |
< 4.1.0 |
4.1.0 |
pip install "sqlfluff>=4.1.0" |
Per OSV / GitHub Advisories (GHSA-wmhf-fqc8-vxhh, PYSEC-2026-209). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sqlfluff | sqlfluff | < 4.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory