CVE-2026-46373

SQLFluff: Recursive Stack Overflow in Parser

Published Jun 9, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wmhf-fqc8-vxhh SQLFluff: Recursive Stack Overflow in Parser
History
Type Values Removed Values Added
CPEs cpe:2.3:a:sqlfluff:sqlfluff:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sqlfluff
Sqlfluff sqlfluff
Vendors & Products Sqlfluff
Sqlfluff sqlfluff
Type Values Removed Values Added
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.
Title SQLFluff: Recursive Stack Overflow in Parser
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 10, 2026, 2:28 PM
Reserved
May 13, 2026, 7:53 PM
Status
Analyzed
Published
Jun 9, 2026, 11:16 PM
Modified
Jul 23, 2026, 9:10 AM