Live threats

All CVEs / Sqlfluff

CVE-2026-46374Sqlfluff

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jun 9, 2026
Updated
Jul 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sqlfluff.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI sqlfluff < 4.2.0 4.2.0 pip install "sqlfluff>=4.2.0"
PyPI sqlfluff < 4.2.0 4.2.0 pip install "sqlfluff>=4.2.0"

Per OSV / GitHub Advisories (GHSA-73jc-5mrq-prw7, PYSEC-2026-210). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sqlfluffsqlfluff< 4.2.0

Official sources

References

Links published by the sources. Open them with care.