Uncontrolled Recursion Affecting sqlfluffrs package, versions [,4.1.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncontrolled Recursion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SQLFLUFFRS-16770155
  • published20 May 2026
  • disclosed19 May 2026
  • creditUnknownOri Nakar

Introduced: 19 May 2026

NewCVE-2026-46373  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade sqlfluffrs to version 4.1.0 or higher.

Overview

sqlfluffrs is a The SQL Linter for Humans

Affected versions of this package are vulnerable to Uncontrolled Recursion through the ParseContext and parser recursion in the SQL parser components. An attacker can exhaust parser stack depth and force repeated parse failures by supplying deeply nested SQL, such as long chains of brackets or other recursive grammar constructs. This can cause parsing to crash or stall, preventing users from linting or processing affected SQL inputs.

CVSS Base Scores

version 4.0
version 3.1