CVE-2026-135901
JSON

4.4medium

Shadow-utils: shadow-utils: newgidmap and newuidmap improperly validate file descriptor location, allowing local file corruption via bind mount

Severity
4.4medium CVSS:3.1 by redhat
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
shadow-utilsNot specifiedCVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
openshift/ose-rhel-coreos-10Not specifiedCVE List

Classification

CWE-59

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-135901 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-135901 changed 2026-12-01Public domain