Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. sqlfluff
  4. ›
  5. CVE-2026-46373

CVE-2026-46373: SQLFluff: Recursive Stack Overflow in Parser

May 19, 2026 (updated June 10, 2026)

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.

References

  • github.com/advisories/GHSA-wmhf-fqc8-vxhh
  • github.com/sqlfluff/sqlfluff/security/advisories/GHSA-wmhf-fqc8-vxhh
  • nvd.nist.gov/vuln/detail/CVE-2026-46373

Code Behaviors & Features

Detect and mitigate CVE-2026-46373 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.0

Fixed versions

  • 4.1.0

Solution

Upgrade to version 4.1.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

pypi/sqlfluff/CVE-2026-46373.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:51 +0000.