Skip to content
OpenAdvisories
High · 7.5 CVE-2026-46373 EUVD-2026-35854GHSA-wmhf-fqc8-vxhhPYSEC-2026-209

SQLFluff: Recursive Stack Overflow in Parser

Published Jun 9, 2026 · Updated Jun 10, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
sqlfluff sqlfluff < 4.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sqlfluff 4.3.0-1 —
Debian 13 sqlfluff No fix yet —
Debian 12 sqlfluff No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 sqlfluff No fix yet —
Ubuntu 26.04 LTS sqlfluff No fix yet —
Ubuntu 25.10 sqlfluff No fix yet —
Ubuntu 24.04 LTS sqlfluff No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI sqlfluff < 4.1.0 4.1.0 GHSA-wmhf-fqc8-vxhh

References