
CVE catalog
CVE-2026-54552
python-sh: CVE-2026-54552
- Severity
- High · CVSS 8.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.17% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-sh | sid | 2.4.0-1 | fixed |
| Debian | python-sh | forky | 2.4.0-1 | fixed |
| Debian | python-sh | trixie | 2.2.1-1 | vulnerable |
| Debian | python-sh | bookworm | 1.14.2-1 | vulnerable |
| Pip | sh | Not reported | 2.2.4 | fixed |
| PyPI | sh | Not reported | 2.2.4 | fixed |
| Suse | python-sh | linux enterprise server 16.0 | 2.2.2-160000.3.1 | fixed |
| Suse | python-sh | linux enterprise server for sap applications 16.0 | 2.2.2-160000.3.1 | fixed |
| Suse | python-sh | linux enterprise server 16.0 | 2.2.2-160000.3.1 | fixed |
| Suse | python-sh | linux enterprise server for sap applications 16.0 | 2.2.2-160000.3.1 | fixed |
| Opensuse | python-sh | leap 16.0 | 2.2.2-160000.3.1 | fixed |
| Suse | python-sh | linux enterprise module for python 3 15 sp7 | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise high performance computing 15 sp4-espos | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise high performance computing 15 sp4-ltss | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise high performance computing 15 sp5-espos | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise high performance computing 15 sp5-ltss | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise server 15 sp4-ltss | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise server 15 sp5-ltss | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise server 15 sp6-ltss | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise server for sap applications 15 sp4 | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise server for sap applications 15 sp5 | 2.0.4-150400.9.6.1 | fixed |
| Suse | python-sh | linux enterprise server for sap applications 15 sp6 | 2.0.4-150400.9.6.1 | fixed |
| Opensuse | python-sh | tumbleweed | 2.3.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-sh | source | sid | 2.4.0-1 | not yet assigned | Not reported | [1145886] |
| Debian | python-sh | source | forky | 2.4.0-1 | not yet assigned | Not reported | [1145886] |
| Debian | python-sh | source | trixie | (unfixed) | not yet assigned | Not reported | [1145886] |
| Debian | python-sh | source | bookworm | (unfixed) | not yet assigned | Not reported | [1145886] |
| Pip | sh | pip | Not reported | 2.2.4 | Not reported | Not reported | Not reported |
| PyPI | sh | PyPI | Not reported | 2.2.4 | Not reported | Not reported | Not reported |
| Suse | python-sh | rpm | linux enterprise server 16.0 | 2.2.2-160000.3.1 | Not reported | SUSE-SU-2026:23112-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise server for sap applications 16.0 | 2.2.2-160000.3.1 | Not reported | SUSE-SU-2026:23112-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise server 16.0 | 2.2.2-160000.3.1 | Not reported | SUSE-SU-2026:23134-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise server for sap applications 16.0 | 2.2.2-160000.3.1 | Not reported | SUSE-SU-2026:23134-1 | Not reported |
| Opensuse | python-sh | rpm | leap 16.0 | 2.2.2-160000.3.1 | Not reported | OPENSUSE-SU-2026:21516-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise module for python 3 15 sp7 | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise high performance computing 15 sp4-espos | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise high performance computing 15 sp4-ltss | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise high performance computing 15 sp5-espos | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise high performance computing 15 sp5-ltss | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise server 15 sp4-ltss | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise server 15 sp5-ltss | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise server 15 sp6-ltss | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise server for sap applications 15 sp4 | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise server for sap applications 15 sp5 | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Suse | python-sh | rpm | linux enterprise server for sap applications 15 sp6 | 2.0.4-150400.9.6.1 | Not reported | SUSE-SU-2026:3422-1 | Not reported |
| Opensuse | python-sh | rpm | tumbleweed | 2.3.0-1.1 | Not reported | OPENSUSE-SU-2026:11372-1 | Not reported |
Notes
[trixie] python-sh: Minor issue [bookworm] python-sh: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-sh]Affected
Source package: [python-sh]
Details (2)
1.14.2-1· all · bookwormAffected
dsa · python-sh · debian · bookworm; dsa · python-sh · debian · 12
1.14.2-1· all · bookwormAffected
dsa · python-sh · debian · bookworm; dsa · python-sh · debian · 12
[Debian 13 (Trixie)]
- [python3-sh]Affected
Source package: [python-sh]
Details (2)
2.2.1-1· all · trixieAffected
dsa · python-sh · debian · 13
2.2.1-1· all · trixieAffected
dsa · python-sh · debian · 13
[openSUSE Tumbleweed]
- [python313-sh]Unknown
Source package: [python-sh]
Details (1)
2.4.0-1.1· noarch · tumbleweedUnknown · Fixed:
2.3.0-1.1Version impact unknown
dsa · python-sh · opensuse · tumbleweed
- [python314-sh]Unknown
Source package: [python-sh]
Details (1)
2.4.0-1.1· noarch · tumbleweedUnknown · Fixed:
2.3.0-1.1Version impact unknown
dsa · python-sh · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21516-1.json]
- [https://github.com/advisories/GHSA-q38v-wp89-2w55]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-54552]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-54552]
- [https://osv.dev/vulnerability/GHSA-q38v-wp89-2w55]
- [https://osv.dev/vulnerability/PYSEC-2026-3540]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23112-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:23134-1]
- [https://osv.dev/vulnerability/SUSE-SU-2026:3422-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11372-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:21516-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-54552]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-54552.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]