Loading advisory.
Loading advisory.
sh _uid does not drop supplementary groups (incomplete privilege drop)
The _uid option performed an incomplete privilege drop on Linux/Unix-like systems.
Published 2026-07-17 18:41 UTC · Modified 2026-08-18 18:44 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| sh | PyPI | < 2.2.4 versions 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 and 30 more | 2.2.4 | pip install --upgrade 'sh>=2.2.4' |
The _uid option performed an incomplete privilege drop on Linux/Unix-like systems.
When sh was run from a process with elevated privileges, such as root, and a command was launched with _uid=<unprivileged user>, the child process changed its UID and primary GID but did not reset its supplementary groups. As a result, the child process could retain the parent process’s supplementary groups, potentially including privileged groups such as root, docker, disk, shadow, or sudo.
This could allow a subprocess that was expected to run with reduced privileges to access files or resources available to the original process’s supplementary groups. Users are impacted if they rely on _uid as a privilege boundary when launching commands from a privileged parent process.
Upgrade to version >= 2.2.4
Avoid using _uid when the user represents a less-privileged user.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.002 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.002 | first score | v2026.06.15 |