Skip to main content
Mallory
UnratedVulnerability

CVE-2026-135901: Local file corruption in shadow-utils newgidmap and newuidmap

Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days8 mentions · peak 4 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-135901CWE-73

CVE-2026-135901 is a file-descriptor validation vulnerability in the shadow-utils newgidmap and newuidmap helpers. The helpers validate a supplied process procfs directory descriptor using device-number comparisons, but subsequently open child files relative to that descriptor without preventing traversal across bind mounts. An unprivileged local attacker can use Linux user and mount namespaces to bind-mount an attacker-chosen file over an expected procfs child entry, redirecting a privileged write while the directory validation still succeeds. The demonstrated newgidmap exploit overwrites the first five bytes of the target file with the fixed string "deny\n", potentially causing file corruption and denial of service.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An unprivileged local attacker can corrupt an attacker-chosen file through a privileged helper, potentially damaging system or application files and causing denial of service. The demonstrated corruption is constrained to overwriting the first five bytes with "deny\n"; arbitrary-content writes, code execution, privilege escalation, and remote exploitation are not established.

Mitigation

If you can’t patch tonight, do this now.

Until patched, restrict untrusted local users' access to the privileged newuidmap and newgidmap helpers, or prevent those users from creating the user and mount namespaces required for the bind-mount attack. These restrictions can disrupt legitimate user-namespace and rootless-container workflows.

Remediation

Patch, then assume compromise.

Upgrade to upstream shadow 4.20.4 or a distribution package containing the equivalent fix. The upstream fix uses openat2() with RESOLVE_NO_XDEV to prevent path resolution across mount points and removes the affected "fd:N" argument form. For Debian 13 (trixie), upgrade shadow packages to 1:4.17.4-2+deb13u1 or later. For Echo, upgrade the affected shadow packages to 1:4.17.4-2+e5 or later.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-135901 exploited in the wild?
As of Nov 27, 2026, Mallory has no reports of CVE-2026-135901 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-135901?
As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-135901.
Is there a patch for CVE-2026-135901?
Upgrade to upstream shadow 4.20.4 or a distribution package containing the equivalent fix. The upstream fix uses openat2() with RESOLVE_NO_XDEV to prevent path resolution across mount points and removes the affected "fd:N" argument form.
Activity feed

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable cloud security pluginsNews · Nov 26, 2026Echo: shadow: security update to 1:4.17.4-2+e5 | Tenable®A critical vulnerability affecting the shadow library and related packages in Echo, assigned a CVSS v3 base score of 9.8. The advisory does not describe the underlying flaw. Updating to version 1:4.17.4-2+e5 or later addresses it.Read more ↗aws alasNews · Nov 25, 2026CVE-2026-135901A low-severity vulnerability involving newgidmap in shadow-utils. The advisory lists Amazon Linux 2027 Preview as pending a fix; Amazon Linux 2 Core and Amazon Linux 2023 are not affected. The CVSS v3.1 score is 3.3, indicating local access, low privileges required, no user interaction, and a low integrity impact without confidentiality or availability impact.Read more ↗tenable nessus pluginsNews · Nov 25, 2026Linux Distros Unpatched Vulnerability : CVE-2026-135901 | Tenable®An unpatched vulnerability listed for Debian Linux and its shadow package. The supplied CVSS v3 vector indicates network-based exploitation without privileges or user interaction, with high confidentiality, integrity, and availability impacts. The underlying flaw is not described.Read more ↗bugzilla redhatNews · Nov 24, 20262583156 - (CVE-2026-135901) CVE-2026-135901 shadow-utils: shadow-utils: newgidmap and newuidmap improperly validate file descriptor location, allowing local file corruption via bind mountA local file-corruption vulnerability in shadow-utils newgidmap and newuidmap. Directory file-descriptor validation checks the procfs device numbers but does not prevent subsequent child-path resolution from crossing a bind mount. An unprivileged local attacker using user and mount namespaces can redirect a privileged write to an attacker-chosen file, overwriting its first five bytes with "deny\n". A working proof of concept was publicly reported against a SUID-root newgidmap build. Upstream shadow 4.20.4 fixes the issue using openat2 with RESOLVE_NO_XDEV and removing the affected "fd:N" argument form.Read more ↗
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.