{"id":"CVE-2026-46373","aliases":["CVE-2026-46373","GHSA-wmhf-fqc8-vxhh","PYSEC-2026-209"],"related":[],"kind":"vulnerability","state":"published","title":"SQLFluff: Recursive Stack Overflow in Parser","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"SQLFluff es un linter y autoformateador de SQL modular con soporte para múltiples dialectos y código con plantillas. Antes de la versión 4.1.0, en implementaciones donde usuarios no confiables pueden proporcionar consultas SQL para ser analizadas, un usuario no confiable puede enviar una consulta maliciosa con anidamiento excesivo deliberado a cualquier aplicación que utilice el analizador para desencadenar una denegación de servicio a través del agotamiento de recursos. Este problema ha sido parcheado en la versión 4.1.0.","source":"nvd"}],"published":"2026-05-19T20:10:17.000Z","modified":"2026-07-23T09:10:00.113Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"version":"< 4.1.0","status":"affected"}],"vendor":"sqlfluff","product":"sqlfluff","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.0"}],"ecosystem":"PyPI","package":"sqlfluff","purl":"pkg:pypi/sqlfluff","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.1.0"}],"vendor":"sqlfluff","product":"sqlfluff","cpe":"cpe:2.3:a:sqlfluff:sqlfluff:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.0"}],"ecosystem":"PyPI","package":"sqlfluff","purl":"pkg:pypi/sqlfluff","source":"pysec"}],"references":[{"url":"https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-wmhf-fqc8-vxhh","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46373","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/sqlfluff/PYSEC-2026-209.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sqlfluff/sqlfluff","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-10T14:28:11.018Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46373","url":"https://www.cve.org/CVERecord?id=CVE-2026-46373","licence":"CVE Terms of Use","modified":"2026-06-10T14:28:18.985Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wmhf-fqc8-vxhh","url":"https://github.com/advisories/GHSA-wmhf-fqc8-vxhh","licence":"CC-BY-4.0","modified":"2026-07-06T23:00:09.335Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46373","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46373","licence":"Public domain","modified":"2026-07-23T09:10:00.113Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-209","url":"https://osv.dev/vulnerability/PYSEC-2026-209","licence":"CC-BY-4.0","modified":"2026-06-13T10:45:05.237Z"}],"updatedAt":"2026-11-25T22:59:24.279Z","epss":{"score":0.00263,"percentile":0.19381,"date":"2026-12-01T12:00:22.000Z"}}