CVE-2026-135901

Source
https://cve.org/CVERecord?id=CVE-2026-135901
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135901.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-135901
Downstream
Related
Published
2026-12-01T14:52:22Z
Modified
2026-12-01T16:00:16Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L CVSS Calculator
Summary
Shadow-utils: shadow-utils: newgidmap and newuidmap improperly validate file descriptor location, allowing local file corruption via bind mount
Details

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.

Database specific
{
    "cna_assigner":  "redhat",
    "cwe_ids":  [
        "CWE-59"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135901.json"
}
References

Affected packages

Git / github.com/shadow-maint/shadow

Affected ranges

Type
GIT
Repo
https://github.com/shadow-maint/shadow
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "original_tag":  "4.20.4",
            "range":  [
                {
                    "fixed":  "759bb9668de015c6e18a51e0bb7c775ef2546e1d"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

4.*
4.10
4.12
4.12.1
4.12.2
4.13
4.14.0
4.14.0-rc1
4.14.0-rc2
4.14.0-rc3
4.14.0-rc4
4.14.0-rc5
4.15.0
4.15.0-rc1
4.15.0-rc2
4.15.0-rc3
4.15.1
4.16.0
4.16.0-rc1
4.17.0
4.17.1
4.17.2
4.17.3
4.17.4
4.18.0
4.18.0-rc2
4.19.0
4.19.0-rc1
4.2.1
4.20.0
4.20.0-rc1
4.20.0-rc2
4.20.0-rc3
4.20.2
4.20.3
4.3.0
4.3.1
4.4
4.5
4.6
4.7
4.8
4.8.1
4.9
v4.*
v4.10
v4.11.1
v4.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135901.json"