CVE-2026-54284
Reported by github_m · Published August 17, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| pgadmin4-fips | Chainguard | 9.17-r1 |
| authentik-2026.5 | Chainguard | 2026.5.6-r9 |
| openstack-glance-2025.2-fips | Chainguard | 31.1.0_git20260812-r1 |
| openstack-placement-2026.1 | Chainguard | 15.0.0_git20260806-r1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| andialbrecht | sqlparse | < 0.6.0 |
| chainguard | pgadmin4-fips | 0 |
| chainguard | authentik-2026.5 | 0 |
| chainguard | openstack-glance-2025.2-fips | 0 |
| chainguard | openstack-placement-2026.1 | 0 |
| andialbrecht | sqlparse | 0 |
| chainguard | openstack-horizon-2025.2-fips | 0 |
| chainguard | openstack-horizon-2025.1-fips | 0 |
| chainguard | openstack-glance-2025.2 | 0 |
| chainguard | datahub-ingestion | 0 |
| PyPI | sqlparse | 0 |
| chainguard | openstack-keystone-2025.2 | 0 |
| chainguard | authentik-2025.12 | 0 |
| chainguard | authentik-fips-2026.5 | 0 |
| chainguard | airflow-core-2 | 0 |
| chainguard | openstack-glance-2026.1 | 0 |
| chainguard | openstack-horizon-2025.2 | 0 |
| chainguard | authentik-fips-2026.2 | 0 |
| wolfi | mlflow | 0, 0 |
| chainguard | openstack-nova-2025.2 | 0 |
…and 37 more
Timeline
- Aug 17, 2026 CVE Published
- Aug 17, 2026 Coalition ESS Score
- Aug 24, 2026 EPSS Score (28 in total, the first dated here)
- Sep 5, 2026 Security Advisory (6 in total, the first dated here)
- Sep 24, 2026 Distribution Patch (5 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-54284
vulnetix vdb fixes CVE-2026-54284
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-54284/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-pwgv-4x5q-6m9f x_refsource_CONFIRM
- https://github.com/andialbrecht/sqlparse/commit/939b129e24c0ad5d51368b1aa72fffcaca76f06f x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-54284 advisory
- https://github.com/advisories/GHSA-pwgv-4x5q-6m9f advisory