CVE catalog

CVE-2026-46374

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 li

[CVE catalog]

Severity
High · CVSS 7.5
Published
Source
[NVD] · [CVE record]
EPSS
0.26% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiansqlfluffsid4.3.0-2fixed
Debiansqlfluffforky4.3.0-2fixed
Debiansqlflufftrixie3.3.1-1vulnerable
Debiansqlfluffbookworm1.4.5-2vulnerable
CpesqlfluffNot reportedNot reportedvulnerable
CpesqlfluffNot reported4.2.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiansqlfluffsourcesid4.3.0-1not yet assignedNot reported[1139640]
Debiansqlfluffsourceforky4.3.0-1not yet assignedNot reported[1139640]
Debiansqlfluffsourcetrixie(unfixed)not yet assignedNot reported[1139640]
Debiansqlfluffsourcebookworm(unfixed)not yet assignedNot reported[1139640]
CpesqlfluffcpeNot reported4.2.0Not reportedNot reportedNot reported

[Debian bug #1139640]

Notes

[trixie] sqlfluff: Minor issue [bookworm] sqlfluff: Parser resource-exhaustion DoS, only reachable where untrusted SQL is linted; upstream fix adds new parse limits that do not apply to the pre-3.0 parser in 1.4.5

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [sqlfluff]Affected
    Details (2)
    • 1.4.5-2 · all · bookworm

      Affected

      nvd · sqlfluff · debian · bookworm; nvd · sqlfluff · debian · 12

    • 1.4.5-2 · all · bookworm

      Affected

      nvd · sqlfluff · debian · bookworm; nvd · sqlfluff · debian · 12

  • [sqlfluff-doc]Affected

    Source package: [sqlfluff]

    Details (2)
    • 1.4.5-2 · all · bookworm

      Affected

      nvd · sqlfluff · debian · bookworm; nvd · sqlfluff · debian · 12

    • 1.4.5-2 · all · bookworm

      Affected

      nvd · sqlfluff · debian · bookworm; nvd · sqlfluff · debian · 12

[Debian 13 (Trixie)]

  • [sqlfluff]Affected
    Details (2)
    • 3.3.1-1 · all · trixie

      Affected

      nvd · sqlfluff · debian · 13

    • 3.3.1-1 · all · trixie

      Affected

      nvd · sqlfluff · debian · 13

  • [sqlfluff-doc]Affected

    Source package: [sqlfluff]

    Details (2)
    • 3.3.1-1 · all · trixie

      Affected

      nvd · sqlfluff · debian · 13

    • 3.3.1-1 · all · trixie

      Affected

      nvd · sqlfluff · debian · 13

Observed:

References