{"schemaVersion":4,"id":"CVE-2026-135901","aliases":["DEBIAN-CVE-2026-135901","DSA-6661-1","UBUNTU-CVE-2026-135901","openSUSE-SU-2026:12695-1","RHSA-2026:103799"],"status":"published","duplicateOf":null,"title":"Shadow-utils: shadow-utils: newgidmap and newuidmap improperly validate file descriptor location, allowing local file corruption via bind mount","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.","dates":{"published":"2026-12-01T14:52:22.817Z","modified":"2026-12-02T05:31:27.601Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":4.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","exploitability":4.6,"impact":4.2,"computed":true}]},"epss":{"probability":0.00315,"percentile":0.26295,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00315,"percentile":0.26295}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00315,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00315,"percentile":0.26295}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"debian","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/shadow","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}},{"text":"< 1:4.17.4-2+deb13u1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:4.17.4-2+deb13u1","endInclusive":false}},{"text":"< 1:4.20.4-1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1:4.20.4-1","endInclusive":false}}],"versionsText":"All versions (No fix recorded) | < 1:4.17.4-2+deb13u1 | < 1:4.20.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/shadow","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"opensuse","product":"shadow&distro=openSUSE Tumbleweed","name":"shadow","label":"shadow&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/shadow&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 4.20.4-2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"4.20.4-2.1","endInclusive":false}}],"versionsText":"< 4.20.4-2.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"shadow-utils","name":"shadow-utils","label":"shadow-utils","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/shadow-utils","purlType":"rpm","versions":[{"text":"< 2:4.20.0-2.1.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:4.20.0-2.1.hum1","endInclusive":false}}],"versionsText":"< 2:4.20.0-2.1.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"shadow-utils-subid","name":"shadow-utils-subid","label":"shadow-utils-subid","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/shadow-utils-subid","purlType":"rpm","versions":[{"text":"< 2:4.20.0-2.1.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:4.20.0-2.1.hum1","endInclusive":false}}],"versionsText":"< 2:4.20.0-2.1.hum1","eol":null,"hubHref":null},{"vendor":"redhat","product":"shadow-utils-subid-devel","name":"shadow-utils-subid-devel","label":"shadow-utils-subid-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/shadow-utils-subid-devel","purlType":"rpm","versions":[{"text":"< 2:4.20.0-2.1.hum1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2:4.20.0-2.1.hum1","endInclusive":false}}],"versionsText":"< 2:4.20.0-2.1.hum1","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2026-135901","label":"security-tracker.debian.org/tracker/CVE-2026-135901","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-135901","label":"ubuntu.com/security/CVE-2026-135901","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-135901","label":"www.cve.org/CVERecord?id=CVE-2026-135901","hostname":"www.cve.org","tags":["REPORT","Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2026/11/22/12","label":"www.openwall.com/lists/oss-security/2026/11/22/12","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://gist.github.com/DicksonWu654/cdad661068d6a50da475aac57a9f07f2","label":"gist.github.com/DicksonWu654/cdad661068d6a50da475aac57a9f07f2","hostname":"gist.github.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2026-135901","label":"www.suse.com/security/cve/CVE-2026-135901","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-135901","label":"access.redhat.com/security/cve/CVE-2026-135901","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","REPORT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2583156","label":"bugzilla.redhat.com/show_bug.cgi?id=2583156","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://github.com/shadow-maint/shadow/releases/tag/4.20.4","label":"github.com/shadow-maint/shadow/releases/tag/4.20.4","hostname":"github.com","tags":["ARTICLE"]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/24/16","label":"www.openwall.com/lists/oss-security/2026/11/24/16","hostname":"www.openwall.com","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/24/19","label":"www.openwall.com/lists/oss-security/2026/11/24/19","hostname":"www.openwall.com","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/11/25/4","label":"www.openwall.com/lists/oss-security/2026/11/25/4","hostname":"www.openwall.com","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2026:103799","label":"access.redhat.com/errata/RHSA-2026:103799","hostname":"access.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://images.redhat.com/","label":"images.redhat.com","hostname":"images.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_103799.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_103799.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135901","label":"nvd.nist.gov/vuln/detail/CVE-2026-135901","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-01T14:52:22.817Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-02T05:31:27.601Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,44],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00315,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-02T05:31:27.601Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-02T05:31:27.601Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"cvss","source":"osv_debian","date":"2026-12-02T05:31:27.601Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"cvss","source":"osv_red_hat","date":"2026-12-02T05:31:27.601Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-01T15:45:45.571Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00315,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T02:02:32.515Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T02:02:33.061Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T02:02:33.247Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T02:00:57.638Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T02:02:28.824Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T02:02:28.182Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:00:47.258Z","stale":false,"partial":false}}