CVE-2026-32274Python Black
Alta 8.7 Sin autenticación
Seguir: esta CVE · Python · Python Black Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 12 mar 2026
- Actualizada
- 3 ago 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-22
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/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
Black is the uncompromising Python code formatter. Starting in version 24.3.0 and prior to version 26.3.1, Black writes a cache file, the name of which is computed from various formatting options. The value of the --python-cell-magics option was placed in the filename without sanitization, which allowed an attacker who controls the value of this argument to write cache files to arbitrary file system locations. Fixed in Black 26.3.1.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Black.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | black |
≥ 24.3.0 < 26.3.1 |
26.3.1 |
pip install "black>=26.3.1" |
| PyPI | black |
< 26.3.1 |
26.3.1 |
pip install "black>=26.3.1" |
Según OSV / GitHub Advisories (GHSA-3936-cmfr-pm3m, PYSEC-2026-2121). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| python | black | < 26.3.1 |
Boletines oficiales
- ansible-lint-26.9.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11856-1 · 23 sep 2026 Alta
- Security update for python-black · SUSE · SUSE-SU-2026:20928-1 · 24 mar 2026 Alta
- Security update for python-black · SUSE · openSUSE-SU-2026:20417-1 · 24 mar 2026 Alta
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.
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- github.com Patch
- github.com
- github.com
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Vendor Advisory
- github.com
- security.access.redhat.com