VDB
Sign up
HIGH7.5

PYSEC-2026-209

Quick fix

PYSEC-2026-209 — sqlfluff: upgrade to the fixed version with the command below.

pip install --upgrade 'sqlfluff>=4.1.0'

Details

SQLFluff is a modular SQL linter and auto-formatter with support for multiple dialects and templated code. Prior to version 4.1.0, 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. This issue has been patched in version 4.1.0.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/sqlfluff
Introduced in: 0Fixed in: 4.1.0
Fixpip install --upgrade 'sqlfluff>=4.1.0'

References