CVE-2026-54284High· 7.5▾ Twilightsqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by group_parenthesis and group_case, causing …
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 41.3 · likelihood 0.1 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Aug 18.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via NVD
0.3%
— → 7.5
7.5 → —
— → 7.5
Last analysed / modified upstream
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, TokenList construction and string conversion in sqlparse/sql.py repeatedly flatten nested token subtrees constructed by group_parenthesis and group_case, causing quadratic CPU consumption through sqlparse.parse(), sqlparse.format(), and sqlparse.split() before depth and token limits terminate processing. This issue is fixed in version 0.6.0.
Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
Affected packages:
sqlparse < 0.6.0Patched in:
sqlparse 0.6.0Source: https://osv.dev/vulnerability/GHSA-pwgv-4x5q-6m9f
Field changes observed since this record was first indexed.
Connected by shared product, vendor, weakness, or advisory.
CVE-2026-59893High· 7.5sqlparse is a non-validating SQL parser module for Python
CVE-2026-84305Mediumsqlparse is a non-validating SQL parser module for Python
CVE-2026-71491High· 7.5sqlparse is a non-validating SQL parser module for Python
CVE-2026-73643High· 7.5js-yaml is a JavaScript YAML parser and dumper
GHSA-27jp-wm6q-gp25Mediumsqlparse: formatting list of tuples leads to denial of service
CVE-2026-59894Mediumsqlparse is a non-validating SQL parser module for Python