CVE-2026-54552
published high CVSS 3.1 · 7.9sh _uid does not drop supplementary groups (incomplete privilege drop)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| amoffat | — | sh< 2.2.4 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP4 | python311-shnoarch | Advisory build | 2.0.4-150400.9.6.1 | SUSE-SU-2026:3422-1 |
| SUSE / openSUSE | SLE-15-SP5 | python311-shnoarch | Advisory build | 2.0.4-150400.9.6.1 | SUSE-SU-2026:3422-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-shnoarch | Advisory build | 2.0.4-150400.9.6.1 | SUSE-SU-2026:3422-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-shnoarch | Advisory build | 2.0.4-150400.9.6.1 | SUSE-SU-2026:3422-1 |
| SUSE / openSUSE | SLE-16 | python313-shnoarch | Advisory build | 2.2.2-160000.3.1 | SUSE-SU-2026:23112-1 |
| SUSE / openSUSE | SLE-16 | python313-shnoarch | Advisory build | 2.2.2-160000.3.1 | SUSE-SU-2026:23134-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-shnoarch | Advisory build | 2.0.4-150400.9.6.1 | SUSE-SU-2026:3422-1 |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-shnoarch | Advisory build | 2.2.2-160000.3.1 | OPENSUSE-SU-2026:21516-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-shaarch64 | Advisory build | 2.3.0-1.1 | OPENSUSE-SU-2026:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-shppc64le | Advisory build | 2.3.0-1.1 | OPENSUSE-SU-2026:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-shs390x | Advisory build | 2.3.0-1.1 | OPENSUSE-SU-2026:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-shx86_64 | Advisory build | 2.3.0-1.1 | OPENSUSE-SU-2026:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-shaarch64 | Advisory build | 2.3.0-1.1 | OPENSUSE-SU-2026:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-shppc64le | Advisory build | 2.3.0-1.1 | OPENSUSE-SU-2026:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-shs390x | Advisory build | 2.3.0-1.1 | OPENSUSE-SU-2026:11372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-shx86_64 | Advisory build | 2.3.0-1.1 | OPENSUSE-SU-2026:11372-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.9 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| amoffat | sh | < 2.2.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-273 CWE-273: Improper Check for Dropped Privileges
References
4Provider assertions
2GitHub_M · cna
sh _uid does not drop supplementary groups (incomplete privilege drop)
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9fdeacc653f73376d4b13d8d286899c9aee28a5ff85d5b406daa4d6aac8c6fd
- Ingested
- 23 Sep 2026, 09:20:39 UTC
- Source record
- Official CVE record