CVE-2026-135901
published medium CVSS 3.1 · 4.4Shadow-utils: shadow-utils: newgidmap and newuidmap improperly validate file descriptor location, allowing local file corruption via bind mount
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 10 | shadow-utils | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | shadow-utils | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 8, 9 | shadow-utils | Unaffected | Not required | redhat |
| Red Hat | — | shadow-utilsRed Hat Hardened Images | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | trixie | shadow | Advisory build | 1:4.17.4-2+deb13u1 | DSA-6661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsubid-develaarch64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
Show 23 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-10Red Hat OpenShift Container Platform 5 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 5 | Affected | Not stated | redhat |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsubid-develppc64le | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsubid-devels390x | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsubid-develx86_64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsubid6aarch64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsubid6ppc64le | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsubid6s390x | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libsubid6x86_64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | login_defsaarch64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | login_defsppc64le | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | login_defss390x | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | login_defsx86_64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadowaarch64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadowppc64le | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadows390x | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadowx86_64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadow-pw-mgmtaarch64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadow-pw-mgmtppc64le | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadow-pw-mgmts390x | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadow-pw-mgmtx86_64 | Advisory build | 4.20.4-2.1 | OPENSUSE-SU-2026:12695-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access
References
6- http://www.openwall.com/lists/oss-security/2026/11/24/16
- http://www.openwall.com/lists/oss-security/2026/11/24/19
- http://www.openwall.com/lists/oss-security/2026/11/25/4
- https://access.redhat.com/security/cve/CVE-2026-135901
- RHBZ#2583156 https://bugzilla.redhat.com/show_bug.cgi?id=2583156
- https://github.com/shadow-maint/shadow/releases/tag/4.20.4
Provider assertions
3redhat · cna
Shadow-utils: shadow-utils: newgidmap and newuidmap improperly validate file descriptor location, allowing local file corruption via bind mount
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9531074a506c36e230fe5111a2cc3d8614f776bbcca6caae4ba84f2cd57b198b
- Ingested
- 01 Dec 2026, 15:53:23 UTC
- Source record
- Official CVE record