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.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-59"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135901.json"
}{
"extracted_events": [
{
"original_tag": "4.20.4",
"range": [
{
"fixed": "759bb9668de015c6e18a51e0bb7c775ef2546e1d"
}
],
"source": "REFERENCES_TAG"
}
]
}