SQL Parsing Vulnerability in sqlparse Module Affecting Python Applications
CVE-2026-84305

5.1MEDIUM

Key Information:

Status
Vendor
CVE Published:
1 September 2026

What is CVE-2026-84305?

The sqlparse module for Python, prior to version 0.6.0, contains a vulnerability that can lead to excessive CPU consumption when processing certain SQL queries with nested parenthesized tuple lists. The vulnerability arises from the handling of reindentation, where inefficient offset calculations on an expanding token tree may cause significant request delays or worker starvation. This issue is addressed in version 0.6.0, which optimizes the handling of these inputs to prevent performance degradation.

Affected Version(s)

sqlparse < 0.6.0

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.