{"id":"CVE-2026-46374","aliases":["CVE-2026-46374","GHSA-73jc-5mrq-prw7","PYSEC-2026-210"],"related":[],"kind":"vulnerability","state":"published","title":"SQLFluff: Uncontrolled Resource Consumption in Parser","summary":"SQLFluff is a modular SQL linter and auto-formatter with support for multiple dialects and templated code. Prior to version 4.2.0, 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. This issue has been patched in version 4.2.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.2.0, 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. This issue has been patched in version 4.2.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 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.","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.2.0, en implementaciones donde usuarios no confiables pueden proporcionar consultas SQL para ser analizadas, un usuario no confiable puede enviar una consulta larga maliciosa a cualquier aplicación que utilice el analizador para desencadenar una denegación de servicio mediante el agotamiento de recursos. Este problema ha sido parcheado en la versión 4.2.0.","source":"nvd"}],"published":"2026-05-19T20:10:53.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-400"],"affected":[{"ranges":[{"version":"< 4.2.0","status":"affected"}],"vendor":"sqlfluff","product":"sqlfluff","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.0"}],"ecosystem":"PyPI","package":"sqlfluff","purl":"pkg:pypi/sqlfluff","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.2.0"}],"vendor":"sqlfluff","product":"sqlfluff","cpe":"cpe:2.3:a:sqlfluff:sqlfluff:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.2.0"}],"ecosystem":"PyPI","package":"sqlfluff","purl":"pkg:pypi/sqlfluff","source":"pysec"}],"references":[{"url":"https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-73jc-5mrq-prw7","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46374","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/sqlfluff/PYSEC-2026-210.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-10T12:57:27.239Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46374","url":"https://www.cve.org/CVERecord?id=CVE-2026-46374","licence":"CVE Terms of Use","modified":"2026-06-10T12:57:38.307Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-73jc-5mrq-prw7","url":"https://github.com/advisories/GHSA-73jc-5mrq-prw7","licence":"CC-BY-4.0","modified":"2026-07-06T23:00:09.351Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46374","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46374","licence":"Public domain","modified":"2026-07-23T09:10:00.113Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-210","url":"https://osv.dev/vulnerability/PYSEC-2026-210","licence":"CC-BY-4.0","modified":"2026-06-13T10:45:05.231Z"}],"updatedAt":"2026-11-25T22:59:24.279Z","epss":{"score":0.0046,"percentile":0.31869,"date":"2026-11-30T12:00:22.000Z"}}