CVE-2026-31900Python Black
Alta 8.7
Seguir: esta CVE · Python · Python Black Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 4.0
- 8.7
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 11 mar 2026
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-20
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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. Black provides a GitHub action for formatting code. This action supports an option, use_pyproject: true, for reading the version of Black to use from the repository pyproject.toml. A malicious pull request could edit pyproject.toml to use a direct URL reference to a malicious repository. This could lead to arbitrary code execution in the context of the GitHub Action. Attackers could then gain access to secrets or permissions available in the context of the action. Version 26.3.0 fixes this vulnerability.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Black.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| GitHub Actions | psf/black |
< 26.3.0 |
26.3.0 |
— |
| PyPI | black |
< 26.3.0 |
26.3.0 |
pip install "black>=26.3.0" |
Según OSV / GitHub Advisories (GHSA-v53h-f6m7-xcgm, PYSEC-2026-2120). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| python | black | < 26.3.0 |
Boletines oficiales
- 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
- python311-black-26.3.1-1.1 on GA media · SUSE · openSUSE-SU-2026:10372-1 · 14 mar 2026 Alta
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.
- github.com Patch
- github.com Mitigation Vendor Advisory