sqlfluff — security advisory
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.
- Products
- sqlfluff
- Affected versions
- 1.4.5-2, 2.3.5-1, 3.3.1-1, 3.4.2-2, 3.5.0-1, 3.5.0-1ubuntu1, 3.5.0-2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-46374
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:31 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-46374
sqlfluff
Fixed versions: Not specified
sqlfluff
Fixed versions: Not specified
sqlfluff
Fixed versions: Not specified
sqlfluff
Fixed versions: Not specified
Complete source record
{
"id": "6406d19fea67f1b1bf3a170a5beaa6f1475ee16c98b293c3fe678f0cff42963d",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-46374",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-46374",
"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.",
"evidence": "osv:UBUNTU-CVE-2026-46374",
"products": [
{
"name": {
"value": "sqlfluff",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.5-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.3.5-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "sqlfluff",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.3.1-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "sqlfluff",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.5.0-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "sqlfluff",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.3.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.4.2-2",
"evidence": "/affected/3/versions"
},
{
"value": "3.5.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.5.0-1ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "3.5.0-2",
"evidence": "/affected/3/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-46374",
"aliases": [
"UBUNTU-CVE-2026-46374"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqlfluff",
"purl": "pkg:deb/ubuntu/sqlfluff?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.4.5-2",
"2.3.5-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-46374.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sqlfluff",
"binary_version": "2.3.5-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqlfluff",
"purl": "pkg:deb/ubuntu/sqlfluff?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.3.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-46374.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sqlfluff",
"binary_version": "3.3.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqlfluff",
"purl": "pkg:deb/ubuntu/sqlfluff?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.5.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-46374.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sqlfluff",
"binary_version": "3.5.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sqlfluff",
"purl": "pkg:deb/ubuntu/sqlfluff?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.3.1-1",
"3.4.2-2",
"3.5.0-1",
"3.5.0-1ubuntu1",
"3.5.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-46374.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "sqlfluff",
"binary_version": "3.5.0-2"
}
]
}
}
],
"modified": "2026-10-17T12:55:36.948839957Z",
"provider": "osv",
"upstream": [
"CVE-2026-46374"
],
"references": [
"https://ubuntu.com/security/CVE-2026-46374",
"https://www.cve.org/CVERecord?id=CVE-2026-46374",
"https://github.com/sqlfluff/sqlfluff/security/advisories/GHSA-73jc-5mrq-prw7"
]
},
"related_cves": [
{
"value": "CVE-2026-46374",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 353904,
"published_at": "2026-06-09T23:16:00+00:00"
}