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.
{
"cwe_ids": [
"CWE-273"
],
"severity": "HIGH",
"github_reviewed_at": "2026-07-17T18:41:38Z",
"github_reviewed": true,
"nvd_published_at": null
}