p PatchFirst

CVE-2026-54552

CVE-2026-54552 · sh _uid does not drop supplementary groups (incomplete privilege drop)

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

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.

CVSS 7.9 · Alta · EPSS 0,2% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system · python

Productos y versiones afectados

  • sh

    Versiones
    • < 2.2.4: Afectada

    Sin corrección publicada

  • python-sh Debian:12

    Versiones
    • 1.14.2-1
    • 2.0.7-1
    • 2.2.1-1
    • 2.2.1-2
    • 2.4.0-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • python-sh Debian:13

    Versiones
    • 2.2.1-1
    • 2.2.1-2
    • 2.4.0-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • python-sh Debian:14

    Versiones
    • 2.2.1-1
    • 2.2.1-2
    Intervalos de versiones afectados
    • ECOSYSTEM: < 2.4.0-1

    Actualiza a 2.4.0-1

  • sh PyPI

    Versiones
    • 0.01
    • 0.106
    • 0.107
    • 0.108
    • 1.0
    • 1.01
    • 1.02
    • 1.03
    • 1.04
    • 1.05
    • 1.06
    • 1.07
    • 1.08
    • 1.09
    • 1.10
    • 1.11
    • 1.12.0
    • 1.12.1
    • 1.12.10
    • 1.12.11
    • 1.12.12
    • 1.12.13
    • 1.12.14
    • 1.12.2
    • 1.12.3
    • 1.12.4
    • 1.12.5
    • 1.12.6
    • 1.12.7
    • 1.12.8
    • 1.12.9
    • 1.13.0
    • 1.13.1
    • 1.14.0
    • 1.14.1
    • 1.14.2
    • 1.14.3
    • 2.0.0
    • 2.0.1
    • 2.0.2
    • 2.0.3
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.1.0
    • 2.2.0
    • 2.2.1
    • 2.2.2
    • 2.2.3
    Intervalos de versiones afectados
    • ECOSYSTEM: < 2.2.4

    Actualiza a 2.2.4

  • python-sh Ubuntu:16.04:LTS

    Versiones
    • 1.11-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • python-sh Ubuntu:18.04:LTS

    Versiones
    • 1.11-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • python-sh Ubuntu:20.04:LTS

    Versiones
    • 1.12.14-2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • python-sh Ubuntu:22.04:LTS

    Versiones
    • 1.14.1-1
    • 1.14.2-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • python-sh Ubuntu:24.04:LTS

    Versiones
    • 1.14.2-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • python-sh Ubuntu:26.10

    Versiones
    • 2.2.1-1
    • 2.2.1-2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • python-sh Ubuntu:26.04:LTS

    Versiones
    • 2.2.1-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →