Read the docs
TI-2026-34090 Aliases CVE-2026-46373GHSA-wmhf-fqc8-vxhh

SQLFluff: Recursive Stack Overflow in Parser

Priority LOW 38CWE-674Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-674.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00263 18th percentileScored 2026-11-07
Fix Fixed sqlfluff (sqlfluff): 4.1.0sqlfluff (PyPI): 4.1.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sqlfluffsqlfluffbefore 4.1.04.1.0Patch availableCNA
—sqlfluff (PyPI)before 4.1.04.1.0Patch availableGHSA-wmhf-fqc8-vxhh
  • sqlfluff Vendorsqlfluff Affected before 4.1.0 Fixed in 4.1.0 Patch available CNA
  • sqlfluff (PyPI) Vendor— Affected before 4.1.0 Fixed in 4.1.0 Patch available GHSA-wmhf-fqc8-vxhh

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sqlfluff:sqlfluff:*:*:*:*:*:*:*:*before 4.1.0Vulnerablesqlfluff
  • cpe:2.3:a:sqlfluff:sqlfluff:*:*:*:*:*:*:*:* Versions before 4.1.0 Vulnerable ·sqlfluff

Remediation

  • Fix · CNA sqlfluff (sqlfluff) Fixed in 4.1.0
  • Fix · GHSA-wmhf-fqc8-vxhh sqlfluff (PyPI) Fixed in 4.1.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-46373
  2. 2026-10-03 Alias added: GHSA-wmhf-fqc8-vxhh

References

  • TI-2026-34091 SQLFluff: Uncontrolled Resource Consumption in Parser CVSS 3.1HIGH 7.5
  • TI-2023-18624 SQLFluff vulnerability for users with access to config file, using `library_path` to call arbitrary python code. CVSS 3.1HIGH 7.8

Sources