{"id":"CVE-2026-135901","aliases":["CVE-2026-135901"],"related":[],"kind":"vulnerability","state":"published","title":"Shadow-utils: shadow-utils: newgidmap and newuidmap improperly validate file descriptor location, allowing local file corruption via bind mount","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-12-01T14:52:22.817Z","modified":"2026-12-01T16:18:15.533Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-59"],"affected":[{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"shadow-utils","cpe":"cpe:/o:redhat:enterprise_linux:10","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"shadow-utils","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"shadow-utils","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"shadow-utils","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"shadow-utils","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Hardened Images","package":"shadow-utils","cpe":"cpe:/a:redhat:hummingbird:1","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-8","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","package":"openshift/ose-rhel-coreos-10","cpe":"cpe:/a:redhat:openshift:5","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:5","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2026-135901","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2583156","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/shadow-maint/shadow/releases/tag/4.20.4","tags":[],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/24/16","tags":[],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/24/19","tags":[],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/25/4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-12-01T15:45:45.571Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-135901","url":"https://www.cve.org/CVERecord?id=CVE-2026-135901","licence":"CVE Terms of Use","modified":"2026-12-01T15:45:54.649Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-135901","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135901","licence":"Public domain","modified":"2026-12-01T16:18:15.533Z"}],"updatedAt":"2026-12-01T16:32:15.931Z"}