CVE-2026-54552amoffat sh
Alta 7.9
Seguir: esta CVE · amoffat · amoffat sh Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 7.9
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 18 ago 2026
- Actualizada
- 22 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-273
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Qué pasa
sh provides Python process launching. Prior to 2.2.4, the _uid option in sh.py performs an incomplete privilege drop on Linux and Unix-like systems. When sh runs from an elevated process and launches a command with _uid set to an unprivileged user, the child changes its UID but can retain the parent process's supplementary groups because the privilege-drop sequence does not fully establish the target user's UID, primary GID, and supplementary groups. The child can therefore retain access to files or resources granted to privileged groups such as root, docker, disk, shadow, or sudo, violating the expected _uid privilege boundary. This issue is fixed in version 2.2.4.
Qué hacer
- Aplica la actualización de seguridad del fabricante para sh.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | sh |
< 2.2.4 |
2.2.4 |
pip install "sh>=2.2.4" |
| PyPI | sh |
< 2.2.4 |
2.2.4 |
pip install "sh>=2.2.4" |
Según OSV / GitHub Advisories (GHSA-q38v-wp89-2w55, PYSEC-2026-3540). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- amoffat · sh
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Security update for python-sh · SUSE · SUSE-SU-2026:23112-1 · 3 ago 2026 Alta
- Security update for python-sh · SUSE · SUSE-SU-2026:23134-1 · 3 ago 2026 Alta
- Security update for python-sh · SUSE · openSUSE-SU-2026:21516-1 · 3 ago 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.