Description
A flaw was found in shadow-utils. The newgidmap and newuidmap utilities validate that a caller-supplied file descriptor refers to a directory on the /proc filesystem by comparing device numbers, then open a file by name relative to that directory to write privileged group/user ID mapping data. A local, unprivileged user can use Linux user and mount namespaces to bind-mount an attacker-chosen file over the expected path, defeating the device-number check and causing the helper to overwrite the first five bytes of the attacker-chosen file with fixed content.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:LWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Hardened Images | — |
| Red Hat | Red Hat Enterprise Linux 10 | — |
| Red Hat | Red Hat Enterprise Linux 6 | — |
| Red Hat | Red Hat Enterprise Linux 7 | — |
| Red Hat | Red Hat Enterprise Linux 8 | — |
| Red Hat | Red Hat Enterprise Linux 9 | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | — |
References
- https://access.redhat.com/errata/RHSA-2026:103799
- https://access.redhat.com/security/cve/CVE-2026-135901
- https://bugzilla.redhat.com/show_bug.cgi?id=2583156
- https://github.com/shadow-maint/shadow/releases/tag/4.20.4
- http://www.openwall.com/lists/oss-security/2026/11/24/16
- http://www.openwall.com/lists/oss-security/2026/11/24/19
- http://www.openwall.com/lists/oss-security/2026/11/25/4
Timeline
- Published
- Dec 1, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Awaiting Analysis