Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local shell on capability-restricted host
-
DeliveryPrivileged operator runs install with setuid mode + ownership change
-
Exploitchown fails leaving invoker-owned setuid binary
-
ExecutionExecute leftover setuid file
-
ImpactInherit privileged invoker's privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Permission preservation
|
| Exploitation Conditions | Requires local use of the |
| Impact | This is a genuine but modest-priority local privilege-escalation flaw, not a mass-exploitable remote issue despite the 7.3 score. The vendor CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:L) is internally consistent with the description: exploitation is LOCAL, requires the attacker (or a privileged operator being abused) to already run |
| Exploit ScenarioDerived | On a Linux system with restricted capabilities (e.g. CAP_CHOWN dropped or a mount/namespace that blocks ownership changes), an operator runs |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
Local privilege escalation in uutils coreutils before 0.10.0: the install utility applies a requested setuid/setgid mode (for example -m 4755 or -m 2755) to the destination before performing the requested ownership change, so if the underlying chown(2) call fails the file is left behind as a setuid/setgid executable owned by the privileged invoker who ran the command. Affected are uutils coreutils releases from 0.0.18 up to but not including 0.10.0 (CPE cpe:2.3:a:uutils:coreutils:*:*:*:*:*:*:*:*) on capability-restricted hosts where chown can actually fail, such as environments with euid != 0 or a dropped CAP_CHOWN; a local, authenticated low-privileged operator who can invoke install can then execute the leftover binary with elevated privileges. There is no CISA KEV listing and no public exploit code identified at time of analysis, and no EPSS score was provided; the honest risk picture is a genuine but modest-priority local flaw (CVSS:4.0 7.3 AV:L/AC:H/AT:P/PR:L, our independent CVSS:3.1 assessment AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H), not a mass-exploitable remote issue, because on unrestricted systems where chown succeeds the setuid bits are correctly cleared and re-applied.
RemediationAI
Vendor-released patch: upgrade to uutils coreutils 0.10.0 or later, which reorders install(1) so ownership is finalized before mode and skips the chmod when a privileged chown fails; the fix is carried by pull request https://github.com/uutils/coreutils/pull/13629 and commit 7c87ab04fee8e52d989fb2625568a3eeda1b1f55, and the advisory is at https://github.com/uutils/coreutils/security/advisories/GHSA-cgg3-923w-v53m. If upgrading is not immediately possible, the practical compensating controls are: stop invoking the uutils install with a setuid/setgid mode combined with an ownership change (-m 4755/-m 2755 together with -o/-g) on hosts where chown may fail - this removes the attack primitive entirely but also removes legitimate setuid-installation workflows, so use GNU coreutils' install for those specific operations instead; ensure the invoking context actually retains CAP_CHOWN or runs as root so chown succeeds and clears the bits (retaining the capability is a much narrower exposure than leaving installations in a half-finished state, but it does widen the invoker's privileges); and, as a detection and cleanup measure, audit install destinations and directory trees created by install -d for leftover setuid/setgid binaries (find / -perm -4000 -o -perm -2000) owned by a non-root privileged account and clear the bits with chmod u-s,g-s or chmod 0755/0644 - note this breaks any program that genuinely depended on those bits, so re-run the installation correctly afterward. On capability-restricted or non-root container builds, pinning to coreutils >= 0.10.0 in the image is strongly preferable to any of the workarounds above.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an order-of-operations defect classified as CWE-281 (Improper Preservation of Permissions) in the Rust reimplementation of GNU coreutils. Unix semantics require ownership to be set before the mode: chown(2) itself clears the setuid/setgid bits, so GNU coreutils deliberately chowns first and chmods afterward. uutils did the reverse in src/uu/install/src/install.rs - in both the directory() helper (used by install -d) and the file path (strip_file()/install destination handling) - calling mode::chmod() with the caller-supplied mode (which may embed 0o4000/0o2000) before chown_optional_user_group(), and previously treating the failed chown with show_if_err! rather than aborting. When the chown fails (the upstream regression test explicitly guards on "only meaningful when the chown can actually fail," i.e. non-root euid or a container/namespace lacking CAP_CHOWN), the destination retains the setuid/setgid bits while remaining owned by the privileged invoker, producing exactly the privileged binary the operator asked for, minus the intended ownership transfer. The vendor fix (PR #13629, commit 7c87ab04fee8e52d989fb2625568a3eeda1b1f55) inverts the sequence so ownership is applied first, skips the chmod entirely when a privileged chown fails, and preserves SELinux context labeling behavior; a companion test asserts that a failed chown leaves mode & 0o6000 == 0 while confirming that -m 4755 without -o still applies full mode. The underlying technology is the install subcommand of uutils coreutils, distributed as a drop-in GNU coreutils replacement and increasingly used in minimal container images (e.g. uutils-based Debian/Ubuntu variants), where capability-restricted execution is common. Per the EUVD record (EUVD-2026-82940) the affected range is 0.0.18 through versions before 0.10.0.
Know when Coreutils gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local vector via install (AV:L), needs privileged invoker (PR:L) and a capability-restricted host where chown fails (AC:H); leftover setuid binary yields full C/I/A on the local system, no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
uutils coreutils versions before 0.10.0 apply setuid or setgid mode to install destinations before finalizing ownership changes, allowing privileged users to leave setuid executables owned by the privileged invoker when ownership changes fail. Attackers can execute leftover setuid files with elevated privileges when ownership change operations fail on capability-restricted systems.
Technical POC Analysis
Evidence basis: GHSA-cgg3-923w-v53m (uutils/coreutils), PR #13629, and the patch diff at commit 7c87ab04fe.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
uutils coreutils, the Rust-based reimplementation of GNU coreutils used in a growing number of Linux distributions and container base images, contains a local privilege-escalation flaw in its install utility affecting releases 0.0.18 through 0.9.x. On capability-restricted hosts - systems running without full root or with CAP_CHOWN dropped - an authenticated local user can end up with a setuid executable owned by a privileged account, turning a routine file-install operation into an elevation path. Exposure is limited to systems that actually ship the affected package and operate in constrained-privilege configurations, making this a manageable but genuine risk to fleet and endpoint integrity rather than an internet-facing emergency.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of service (crash) or possibly ex
Privilege escalation to root in uutils coreutils chroot utility allows low-privileged local attackers with write access
Recursive chmod operations can bypass --preserve-root protection in uutils coreutils versions prior to 0.6.0, allowing l
Local privilege escalation in uutils coreutils mkfifo allows authenticated users to downgrade permissions on arbitrary f
Privilege escalation in uutils coreutils mkfifo utility allows local attackers with low privileges to manipulate file pe
Bypass of --preserve-root protection in uutils coreutils rm utility allows local users to recursively delete the root fi
The mv utility in uutils coreutils improperly expands symbolic links instead of preserving them during moves across file
The cp utility in uutils coreutils improperly preserves setuid and setgid bits when the chown operation fails during fil
The split utility in uutils coreutils contains a time-of-check to time-of-use (TOCTOU) race condition that allows local
A time-of-check to time-of-use (TOCTOU) race condition in the mv utility of uutils coreutils during cross-device move op
The touch utility in uutils coreutils suffers from a Time-of-Check to Time-of-Use (TOCTOU) race condition that allows lo
Privilege escalation via symlink attack in uutils coreutils install utility when using the -D flag allows local attacker
EUVD-2026-82940
GHSA-7xr6-4qqg-jjh9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB