CVE-2026-135901: Shadow-utils: shadow-utils: newgidmap and newuidmap improperly validate file descriptor location, allowing local file corruption via bind mount
Vulnerability summary
CVE-2026-135901 is a medium (CVSS 4.4) vulnerability in shadow. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.2% of scored vulnerabilities.
Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 01-12-2026PublishedVulnerability first disclosed.
- 02-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- OSV · DebianEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
- OSV · Red hatEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat3 products
- shadow-utils< 2:4.20.0-2.1.hum1
- shadow-utils-subid< 2:4.20.0-2.1.hum1
- shadow-utils-subid-devel< 2:4.20.0-2.1.hum1
Debian1 product
- shadowAll versions (No fix recorded) | < 1:4.17.4-2+deb13u1 | < 1:4.20.4-1
Opensuse1 product
- shadow&distro=openSUSE Tumbleweed< 4.20.4-2.1
Ubuntu1 product
- shadowAll versions (No fix recorded)
4 vendors · 6 products
References
17 linksShow all 17 references
- images.redhat.comARTICLE