Vulnerability · Published Jun 9, 2026 · Assigned by GitHub_M

CVE-2026-46373SQLFluff: Recursive Stack Overflow in Parser

High 7.5

In plain English

A high-severity security flaw in sqlfluff from sqlfluff. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.3%top 81.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12sqlfluffno fix listedDEBIAN-CVE-2026-46373
Debian:13sqlfluffno fix listedDEBIAN-CVE-2026-46373
Debian:14sqlfluff4.3.0-1DEBIAN-CVE-2026-46373
PyPIsqlfluff4.1.0GHSA-wmhf-fqc8-vxhh
PyPIsqlfluff4.1.0PYSEC-2026-209
Ubuntu:24.04:LTSsqlfluffno fix listedUBUNTU-CVE-2026-46373
Ubuntu:25.10sqlfluffno fix listedUBUNTU-CVE-2026-46373
Ubuntu:26.04:LTSsqlfluffno fix listedUBUNTU-CVE-2026-46373
Ubuntu:26.10sqlfluffno fix listedUBUNTU-CVE-2026-46373

Affected products (as reported)

VendorProductVersions
sqlfluff sqlfluff < 4.1.0

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References