cbcvebase.
CVE-2026-84305
published 2026-09-01

CVE-2026-84305: sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse.format(sql, reindent=True) and sqlformat --reindent route…

PriorityP427medium5.1CVSS 4.0
AVLACLATNPRNUINVCNVINVALSCNSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.19%
8.1th percentile
sqlparse is a non-validating SQL parser module for Python. Prior to 0.6.0, sqlparse.format(sql, reindent=True) and sqlformat --reindent route attacker-controlled parenthesized tuple lists through ReindentFilter._get_offset() in sqlparse/filters/reindent.py, where _flatten_up_to_token() repeatedly rebuilds and joins the statement prefix. Thousands of offset calculations walk an expanding token tree, producing quadratic CPU consumption for inputs that remain below MAX_GROUPING_TOKENS and causing request delays, reduced throughput, or worker starvation. This issue is fixed in version 0.6.0.

Affected

190 ranges· showing 25
VendorProductVersion rangeFixed in
andialbrechtsqlparse< 0.6.00.6.0
rhosoopenstack-aodh-api-rhel9——
rhosoopenstack-aodh-base-rhel9——
rhosoopenstack-aodh-evaluator-rhel9——
rhosoopenstack-aodh-listener-rhel9——
rhosoopenstack-aodh-notifier-rhel9——
rhosoopenstack-barbican-api-rhel9——
rhosoopenstack-barbican-base-rhel9——
rhosoopenstack-barbican-keystone-listener-rhel9——
rhosoopenstack-barbican-worker-rhel9——
rhosoopenstack-cinder-api-rhel9——
rhosoopenstack-cinder-backup-rhel9——
rhosoopenstack-cinder-base-rhel9——
rhosoopenstack-cinder-scheduler-rhel9——
rhosoopenstack-cinder-volume-rhel9——
rhosoopenstack-cloudkitty-api-rhel9——
rhosoopenstack-cloudkitty-base-rhel9——
rhosoopenstack-cloudkitty-processor-rhel9——
rhosoopenstack-designate-api-rhel9——
rhosoopenstack-designate-backend-bind9-rhel9——
rhosoopenstack-designate-base-rhel9——
rhosoopenstack-designate-central-rhel9——
rhosoopenstack-designate-mdns-rhel9——
rhosoopenstack-designate-producer-rhel9——
rhosoopenstack-designate-sink-rhel9——

CVSS provenance

nvdv4.05.1MEDIUMCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vendor_redhat5.1MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.