{"id":"CVE-2026-46374","aliases":["DEBIAN-CVE-2026-46374","EUVD-2026-35855","GHSA-73jc-5mrq-prw7","PYSEC-2026-210","ROOT-APP-PYPI-CVE-2026-46374","UBUNTU-CVE-2026-46374"],"status":"published","title":"SQLFluff: Uncontrolled Resource Consumption in Parser","description":"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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00263,"percentile":0.18244,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2026-05-19T20:10:53Z","modified":"2026-10-28T02:30:38Z","fixes":[{"ecosystem":"PyPI","package":"sqlfluff","fixed_in":["4.2.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:14","package":"sqlfluff","fixed_in":["4.3.0-1"],"sources":["osv"]},{"ecosystem":"Root:PyPI","package":"sqlfluff","fixed_in":["4.1.0+aikido.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5-2","2.3.5-1","3.2.5-1","3.2.5-2","3.3.0-1","3.3.1-1","3.4.2-1","3.4.2-2","3.5.0-1","3.5.0-2","4.3.0-1","4.3.0-2"]},{"source":"osv","ecosystem":"Debian:13","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1","3.4.2-1","3.4.2-2","3.5.0-1","3.5.0-2","4.3.0-1","4.3.0-2"]},{"source":"osv","ecosystem":"Debian:14","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.0-1"}]}],"versions":["3.3.1-1","3.4.2-1","3.4.2-2","3.5.0-1","3.5.0-2"]},{"source":"osv","ecosystem":"PyPI","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.9","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.10.0","0.10.1","0.11.0","0.11.1","0.11.2","0.12.0","0.13.0","0.13.1","0.13.2","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.3.0","0.3.1","0.3.2","0.3.2.post1","0.3.2.post2","0.3.3","0.3.4","0.3.5","0.3.6","0.4.0","0.4.0a1","0.4.0a2","0.4.0a3","0.4.1","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.6.0","0.6.0a1","0.6.0a2","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","0.7.0","0.7.0a1","0.7.0a2","0.7.0a3","0.7.0a5","0.7.0a8","0.7.1","0.8.0","0.8.1","0.8.2","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","1.0.0","1.1.0","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","2.0.0","2.0.0a1","2.0.0a2","2.0.0a3","2.0.0a4","2.0.0a5","2.0.0a6","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","3.0.0","3.0.0a1","3.0.0a2","3.0.0a3","3.0.0a4","3.0.0a5","3.0.0a6","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.1.0","3.1.1","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3.0","3.3.1","3.4.0","3.4.1","3.4.2","3.5.0","4.0.0","4.0.0a1","4.0.0a2","4.0.0a3","4.0.1.post1","4.0.3","4.0.4","4.0.4a1","4.1.0"]},{"source":"osv","ecosystem":"PyPI","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.9","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.10.0","0.10.1","0.11.0","0.11.1","0.11.2","0.12.0","0.13.0","0.13.1","0.13.2","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.3.0","0.3.1","0.3.2","0.3.2.post1","0.3.2.post2","0.3.3","0.3.4","0.3.5","0.3.6","0.4.0","0.4.0a1","0.4.0a2","0.4.0a3","0.4.1","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.6.0","0.6.0a1","0.6.0a2","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.6.7","0.6.8","0.6.9","0.7.0","0.7.0a1","0.7.0a2","0.7.0a3","0.7.0a5","0.7.0a8","0.7.1","0.8.0","0.8.1","0.8.2","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","1.0.0","1.1.0","1.2.0","1.2.1","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","2.0.0","2.0.0a1","2.0.0a2","2.0.0a3","2.0.0a4","2.0.0a5","2.0.0a6","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","3.0.0","3.0.0a1","3.0.0a2","3.0.0a3","3.0.0a4","3.0.0a5","3.0.0a6","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.1.0","3.1.1","3.2.0","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3.0","3.3.1","3.4.0","3.4.1","3.4.2","3.5.0","4.0.0","4.0.0a1","4.0.0a2","4.0.0a3","4.0.1.post1","4.0.3","4.0.4","4.0.4a1","4.1.0"]},{"source":"osv","ecosystem":"Root:PyPI","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.0+aikido.1"}]}]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5-2","2.3.5-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5.0-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"sqlfluff","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1","3.4.2-2","3.5.0-1","3.5.0-1ubuntu1","3.5.0-2"]}],"products":[{"vendor":"sqlfluff","product":"sqlfluff"}],"references":[{"url":"https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-73jc-5mrq-prw7","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46374","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/sqlfluff/PYSEC-2026-210.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-73jc-5mrq-prw7"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46374.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-46374","tags":["advisory"]},{"url":"https://github.com/sqlfluff/sqlfluff","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-46374","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-46374","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-46374","title":"SQLFluff: Uncontrolled Resource Consumption in Parser","description":"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.","status":"published","published":"2026-06-09T22:40:40.265Z","modified":"2026-06-10T12:57:38.307Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T13:47:06.353366Z"}],"euvd":[{"id":"EUVD-2026-35855","description":"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.","status":"published","published":"2026-06-09T22:40:40Z","modified":"2026-06-10T12:57:38Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T18:20:45.405546Z"}],"ghsa":[{"id":"GHSA-73jc-5mrq-prw7","title":"SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser","description":"### 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.","status":"published","published":"2026-05-19T20:10:53Z","modified":"2026-07-06T22:53:28Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:40:40.389795Z"}],"nvd":[{"id":"CVE-2026-46374","description":"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.","status":"published","published":"2026-06-09T23:16:59.313Z","modified":"2026-07-23T09:10:00.113Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:12:23.485267Z"}],"osv":[{"id":"CVE-2026-46374","title":"SQLFluff: Uncontrolled Resource Consumption in Parser","description":"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.","status":"published","published":"2026-06-09T22:40:40.265Z","modified":"2026-10-28T02:30:38.916053616Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:45:05.870292Z"},{"id":"DEBIAN-CVE-2026-46374","description":"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.","status":"published","published":"2026-06-09T23:16:59.313Z","modified":"2026-10-01T03:02:51.236715156Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:56.025495Z"},{"id":"GHSA-73jc-5mrq-prw7","title":"SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser","description":"### 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.","status":"published","published":"2026-05-19T20:10:53Z","modified":"2026-07-06T23:00:09.351722094Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:40.308826Z"},{"id":"PYSEC-2026-210","description":"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.","status":"published","published":"2026-06-09T23:16:59.313Z","modified":"2026-06-13T10:45:05.231816283Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:55.537808Z"},{"id":"UBUNTU-CVE-2026-46374","description":"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.","status":"published","published":"2026-06-09T23:16:00Z","modified":"2026-10-17T12:55:36.948839957Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:30.797112Z"},{"id":"ROOT-APP-PYPI-CVE-2026-46374","title":"CVE-2026-46374 in sqlfluff - Patched by Root","description":"Root has patched CVE-2026-46374 in the sqlfluff package for Root:PyPI. Multiple fixed versions available.","status":"published","published":"2026-09-21T12:39:27Z","modified":"2026-09-21T13:15:05.389107312Z","updated_at":"2026-11-02T15:53:28.259095Z"}]}}
