CVE-2026-46373
Received Received - Intake
SQL Injection in SQLFluff Parser

Publication date: 2026-06-09

Last updated on: 2026-06-09

Assigner: GitHub, Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-09
Last Modified
2026-06-09
Generated
2026-06-10
AI Q&A
2026-06-10
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
sqlfluff sqlfluff to 4.1.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-674 The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in SQLFluff, a SQL linter and auto-formatter. Before version 4.1.0, if an untrusted user could submit SQL queries to be linted, they could craft a malicious query with excessive nesting. This malicious query would cause the parser to consume excessive resources, leading to a Denial of Service (DoS) condition through resource exhaustion.

Compliance Impact

The vulnerability in SQLFluff prior to version 4.1.0 allows an untrusted user to cause a Denial of Service (DoS) through resource exhaustion by submitting maliciously nested SQL queries. This vulnerability impacts availability but does not affect confidentiality or integrity of data.

Since the vulnerability does not lead to unauthorized access, data leakage, or data modification, it has limited direct impact on compliance with data protection regulations such as GDPR or HIPAA, which primarily focus on confidentiality and integrity of personal or health data.

However, the DoS condition could affect system availability, which is a component of some compliance frameworks. Organizations relying on SQLFluff in environments where availability is critical may need to consider this risk until patched.

Impact Analysis

The impact of this vulnerability is a Denial of Service (DoS) attack. An attacker can cause the application using SQLFluff to become unresponsive or crash by submitting a specially crafted SQL query with excessive nesting. This results in resource exhaustion, potentially disrupting normal operations and availability of the affected system.

Mitigation Strategies

To mitigate this vulnerability, upgrade SQLFluff to version 4.1.0 or later, where the issue has been patched.

Additionally, avoid allowing untrusted users to submit SQL queries for linting in environments using vulnerable versions prior to 4.1.0.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46373. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart