CVE-2026-84305andialbrecht sqlparse
Media 5.1
Seguir: esta CVE · andialbrecht · andialbrecht sqlparse Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 31
- CVSS 4.0
- 5.1
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 1 sep 2026
- Actualizada
- 9 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-407
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS: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
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para sqlparse.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | sqlparse |
< 0.6.0 |
0.6.0 |
pip install "sqlparse>=0.6.0" |
| PyPI | sqlparse |
< 0.6.0 |
0.6.0 |
pip install "sqlparse>=0.6.0" |
Según OSV / GitHub Advisories (GHSA-cfqr-cjx5-5jcm, PYSEC-2026-3923). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- andialbrecht · sqlparse
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Security update for python-sqlparse · SUSE · SUSE-SU-2026:4145-1 · 14 sep 2026 Media
- Security update for python-sqlparse · SUSE · SUSE-SU-2026:4109-1 · 9 sep 2026 Media
- Security update for python-sqlparse · SUSE · openSUSE-SU-2026:21777-1 · 6 sep 2026 Media
Además: SUSE (+2)
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.