{"id":"CVE-2026-46373","aliases":["GHSA-wmhf-fqc8-vxhh","PYSEC-2026-209"],"title":"SQLFluff: Recursive Stack Overflow in Parser","summary":"SQLFluff: Recursive Stack Overflow in 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.1.0"],"patched":["sqlfluff 4.1.0"],"published":"2026-05-19","updated":"2026-07-06","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-wmhf-fqc8-vxhh","references":[{"url":"https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-wmhf-fqc8-vxhh"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46373"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/sqlfluff/PYSEC-2026-209.yaml"},{"url":"https://github.com/sqlfluff/sqlfluff"}],"tags":["osv","pip"],"epss":0.0046,"epssPercentile":0.37172,"ingestedAt":"2026-07-08T18:25:53.849Z","slug":"CVE-2026-46373","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 query with deliberate excessive nesting to any application using the parser to trigger a Denial of Service through resource exhaustion.\n\n### Patches\n\nVersions 4.1.0 and up contain a configurable recursion 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.1.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `sqlfluff 4.1.0`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}