All reports
High

SQLFluff: Recursive Stack Overflow in Parser

Affected versions

Version ranges need review.

Affected versions
<4.1.0
Fixed version
4.1.0
Affected versions
< 4.1.0
Fixed version
4.1.0

Exploitation

CVE-2026-46373

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-20

Description

Impact

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.

Patches

Versions 4.1.0 and up contain a configurable recursion limit, which is enabled by default, to prevent this manner of exploit.

Credit

Ori Nakar from Imperva Threat Research Team.

Links