sqlfluff
Affected
- introduced
0, fixed4.2.0(ecosystem)
Fixed versions
4.2.0
Fix
- Fixed version
4.2.0pip install --upgrade sqlfluff==4.2.0
Advisory
Also known as: CVE-2026-46374, PYSEC-2026-210
SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser
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.
High Basis: The source's own band: HIGH
0, fixed 4.2.0 (ecosystem)4.2.0
4.2.0pip install --upgrade sqlfluff==4.2.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0