Skip to content
OpenAdvisories
High · 7.5 CVE-2026-46374 EUVD-2026-35855GHSA-73jc-5mrq-prw7PYSEC-2026-210

SQLFluff: Uncontrolled Resource Consumption 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.2.0, in deployments where untrusted users can provide SQL queries to be linted, an untrusted user can submit a malicious long query to any application using the parser to trigger a Denial of Service through resource exhaustion. This issue has been patched in version 4.2.0.

Affected products

VendorProductAffectedFixed
sqlfluff sqlfluff < 4.2.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.2.0 4.2.0 GHSA-73jc-5mrq-prw7

References