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.
References
Configurations
No configuration.
History
02 Dec 2026, 06:17
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
01 Dec 2026, 16:18
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
01 Dec 2026, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-12-01 15:17
Updated : 2026-12-02 06:17
NVD link : CVE-2026-135901
Mitre link : CVE-2026-135901
CVE.ORG link : CVE-2026-135901
JSON object : View
Products Affected
No product.
CWE
CWE-59
Improper Link Resolution Before File Access ('Link Following')
