{"id":"CVE-2026-46373","published":"2026-06-09T22:38:33Z","modified":"2026-06-10T14:28:18Z","title":"SQLFluff: Recursive Stack Overflow in Parser","vendor":"sqlfluff","product":"sqlfluff","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0046,"percentile":0.31859,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-wmhf-fqc8-vxhh","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":6.37},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"sqlfluff","affectedVersions":[{"vendor":"sqlfluff","product":"sqlfluff","versions":["< 4.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-10T14:28:11.018154Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"sqlfluff","vulnerableRanges":["<4.1.0"],"patched":["4.1.0"],"from":["GHSA-wmhf-fqc8-vxhh","PYSEC-2026-209"],"provenance":"source"}],"summary":{"text":"SQLFluff's SQL parser contains an uncontrolled recursion flaw, affecting the sqlfluff linter and auto-formatter in deployments that let untrusted users submit SQL for linting. An attacker with network access and no authentication or user interaction can submit a deliberately deeply nested query that exhausts resources and causes a denial of service in any application using the parser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:07:13Z"},"euvd":{"id":"EUVD-2026-35854","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-36830","published":"2023-07-06","fixed":"2.1.2","kev":false},{"cve":"CVE-2026-46373","published":"2026-06-09","fixed":"4.1.0","kev":false},{"cve":"CVE-2026-46374","published":"2026-06-09","fixed":"4.2.0","kev":false,"link":{"from":"CVE-2026-46373","to":"CVE-2026-46374","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:sqlfluff","fromFixed":"4.1.0","toFixed":"4.2.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.92,"basis":"same product + description similarity"}]}}],"package":"PyPI:sqlfluff"}}