GitHub Advisoryadvisory · PyPI

GHSA-73jc-5mrq-prw7 SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser

HIGH Published 2026-05-19 Modified 2026-07-06 Official page ↗
Aliases
CVE-2026-46374
Ecosystem
PyPI
Packages
sqlfluff
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-400
Reviewed
2026-05-19

Affected packages

• PyPI sqlfluff: < 4.2.0 → fixed in 4.2.0

Description

Impact 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. Patches Versions 4.2.0 and up contain a configurable parse node limit, which is enabled by default, to prevent this manner of exploit. Credit Ori Nakar from Imperva Threat Research Team.

Related

Alias · CVE (1)

  • CVE-2026-46374 SQLFluff is a modular SQL linter and auto-formatter with support for multiple dialects and templated code. vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References