Amenazas en vivo

Todas las CVE / Python

CVE-2026-32274Python Black

Alta 8.7 Sin autenticación

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Black.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCó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)

FabricanteProductoVersiones
pythonblack< 26.3.1

Boletines oficiales

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.