{"id":"CVE-2026-46374","aliases":["GHSA-73jc-5mrq-prw7","PYSEC-2026-210"],"title":"SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser","summary":"SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","vendor":"sqlfluff","product":"sqlfluff","ecosystem":"pip","affected":["sqlfluff < 4.2.0"],"patched":["sqlfluff 4.2.0"],"published":"2026-05-19","updated":"2026-07-06","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-73jc-5mrq-prw7","references":[{"url":"https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-73jc-5mrq-prw7"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46374"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/sqlfluff/PYSEC-2026-210.yaml"},{"url":"https://github.com/sqlfluff/sqlfluff"}],"tags":["osv","pip"],"epss":0.00263,"epssPercentile":0.18446,"ingestedAt":"2026-07-08T18:25:46.747Z","slug":"CVE-2026-46374","body":"## Overview\n\n### Impact\n\nIn 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.\n\n### Patches\n\nVersions 4.2.0 and up contain a configurable parse node limit, which is enabled by default, to prevent this manner of exploit.\n\n### Credit\n\nOri Nakar from Imperva Threat Research Team.\n\n## Affected packages\n\n- `sqlfluff < 4.2.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `sqlfluff 4.2.0`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}