SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser (CVE-2026-46374)
### Impact 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. ### Patches Versions 4.2.0 and up contain a configurable parse node limit, which is enabled by default, to prevent this manner of exploit. ### Credit Ori Nakar from Imperva Threat Research Team.
AI Analysis
Technical Summary
The SQLFluff parser in versions before 4.2.0 does not limit the complexity or length of SQL queries it processes, enabling an attacker who can submit queries to cause excessive resource consumption leading to denial of service. This is classified under CWE-400 (Uncontrolled Resource Consumption). The vulnerability has a CVSS 3.1 vector indicating network attack vector, low attack complexity, no privileges or user interaction required, and impacts availability only with high severity. The issue is fixed in version 4.2.0 by adding a default-enabled configurable parse node limit to prevent resource exhaustion.
Potential Impact
An attacker able to submit SQL queries to an application using the vulnerable SQLFluff parser can cause denial of service by exhausting system resources. This impacts availability but does not affect confidentiality or integrity. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade SQLFluff to version 4.2.0 or later, which includes a default-enabled configurable parse node limit to prevent resource exhaustion attacks. No additional mitigation is required if using these fixed versions.
SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser (CVE-2026-46374)
Description
### Impact 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. ### Patches Versions 4.2.0 and up contain a configurable parse node limit, which is enabled by default, to prevent this manner of exploit. ### Credit Ori Nakar from Imperva Threat Research Team.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The SQLFluff parser in versions before 4.2.0 does not limit the complexity or length of SQL queries it processes, enabling an attacker who can submit queries to cause excessive resource consumption leading to denial of service. This is classified under CWE-400 (Uncontrolled Resource Consumption). The vulnerability has a CVSS 3.1 vector indicating network attack vector, low attack complexity, no privileges or user interaction required, and impacts availability only with high severity. The issue is fixed in version 4.2.0 by adding a default-enabled configurable parse node limit to prevent resource exhaustion.
Potential Impact
An attacker able to submit SQL queries to an application using the vulnerable SQLFluff parser can cause denial of service by exhausting system resources. This impacts availability but does not affect confidentiality or integrity. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade SQLFluff to version 4.2.0 or later, which includes a default-enabled configurable parse node limit to prevent resource exhaustion attacks. No additional mitigation is required if using these fixed versions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-73jc-5mrq-prw7
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-46374"]
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a4c539827e9c79719a3b195
Added to database: 07/07/2026, 01:17:12 UTC
Last enriched: 07/07/2026, 01:21:23 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.