Resource exhaustion in Sqlparse - #VU142414
Published: August 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled resource consumption in ReindentFilter when formatting attacker-controlled SQL with reindentation enabled. A remote attacker can supply a specially crafted parenthesized tuple-list input to cause a denial of service.
The issue is reachable through sqlparse.format(sql, reindent=True) and the sqlformat --reindent mode.