Every CVE Search/ Get API key

CVE-2026-46374

SQLFluff: Uncontrolled Resource Consumption in Parser

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.26%Up 0.2 points since Jun 10, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.5

SQLFluff: Uncontrolled Resource Consumption in Parser

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.

Record
CVE-2026-46374
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
EUVDEUVD-2026-35855 7.5

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.

Record
EUVD-2026-35855
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-73jc-5mrq-prw7 7.5

SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser

Impact

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.

Patches

Versions 4.2.0 and up contain a configurable parse node limit, which is enabled by default, to prevent this manner of exploit.

Credit

Ori Nakar from Imperva Threat Research Team.

Record
GHSA-73jc-5mrq-prw7
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
NVD 7.5

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.

Record
CVE-2026-46374
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
OSV 7.5

SQLFluff: Uncontrolled Resource Consumption in Parser

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.

Record
CVE-2026-46374
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
OSVDEBIAN-CVE-2026-46374 7.5

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.

Record
DEBIAN-CVE-2026-46374
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 4 moreShow less
OSVGHSA-73jc-5mrq-prw7 7.5

SQLFluff: Uncontrolled Resource Consumption in SQLFluff Parser

Impact

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.

Patches

Versions 4.2.0 and up contain a configurable parse node limit, which is enabled by default, to prevent this manner of exploit.

Credit

Ori Nakar from Imperva Threat Research Team.

Record
GHSA-73jc-5mrq-prw7
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
OSVPYSEC-2026-210 7.5

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.

Record
PYSEC-2026-210
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-46374 7.5

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.

Record
UBUNTU-CVE-2026-46374
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVROOT-APP-PYPI-CVE-2026-46374 No score

CVE-2026-46374 in sqlfluff - Patched by Root

Root has patched CVE-2026-46374 in the sqlfluff package for Root:PyPI. Multiple fixed versions available.

Record
ROOT-APP-PYPI-CVE-2026-46374
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sqlfluff
PyPI
before 4.2.0
4.2.0
sqlfluff
Debian:12
All versions, plus listed versions
1.4.5-22.3.5-13.2.5-13.2.5-23.3.0-1
Show 7 moreShow less
3.3.1-13.4.2-13.4.2-23.5.0-13.5.0-24.3.0-14.3.0-2
None known
sqlfluff
Debian:13
All versions, plus listed versions
3.3.1-13.4.2-13.4.2-23.5.0-13.5.0-24.3.0-14.3.0-2
None known
sqlfluff
Debian:14
before 4.3.0-1, plus listed versions
3.3.1-13.4.2-13.4.2-23.5.0-13.5.0-2
4.3.0-1
sqlfluff
PyPI
before 4.2.0, plus listed versions
0.0.10.0.20.0.30.0.40.0.5
Show 45 moreShow less
0.0.60.0.70.0.90.1.00.1.10.1.20.1.30.1.40.1.50.10.00.10.10.11.00.11.10.11.20.12.00.13.00.13.10.13.20.2.00.2.10.2.20.2.30.2.40.3.00.3.10.3.20.3.2.post10.3.2.post20.3.30.3.40.3.50.3.60.4.00.4.0a10.4.0a20.4.0a30.4.10.5.00.5.10.5.20.5.30.5.40.5.50.5.60.6.0
4.2.0
sqlfluff
Root:PyPI
before 4.1.0+aikido.1
4.1.0+aikido.1
sqlfluff
Ubuntu:24.04:LTS
All versions, plus listed versions
1.4.5-22.3.5-1
None known
sqlfluff
Ubuntu:25.10
All versions, plus listed versions
3.3.1-1
None known
sqlfluff
Ubuntu:26.10
All versions, plus listed versions
3.5.0-2
None known
sqlfluff
Ubuntu:26.04:LTS
All versions, plus listed versions
3.3.1-13.4.2-23.5.0-13.5.0-1ubuntu13.5.0-2
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-46374 is a high vulnerability (CVSS 7.5) in Sqlfluff, published May 19, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.26%, the 18th percentile. Fixed in sqlfluff 4.2.0.

References

This page doesn't list everything

Left out here: 103 versions. The JSON record has them.

MoveEnter Open