CVE-2026-135901
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | shadow |
Fixed | 1:4.17.4-2+deb13u1 |
| sid | shadow |
Fixed | 1:4.20.4-1 |
| forky | shadow |
Fixed | 1:4.20.4-1 |
| bookworm | shadow |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
References
- https://security-tracker.debian.org/tracker/CVE-2026-135901
- https://www.suse.com/security/cve/CVE-2026-135901.html
- 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
CWEs
CWE-59
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.