Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconGain local root access or CAP_MKNOD
-
DeliveryExecute mknod for restricted device
-
ExploitTrigger SELinux labeling failure
-
InstallCleanup fails, node persists
-
C2Access mislabeled device as unprivileged user
-
ExecuteBypass mandatory access controls
-
ImpactEscalate privileges or access protected resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Permission preservation
|
| Exploitation Conditions | Exploitation requires: (1) local system access with root or CAP_MKNOD capability to execute mknod, (2) an active SELinux policy in enforcing or permissive mode on the target system (unaffected on systems without SELinux), (3) a labeling operation that fails during mknod execution (due to policy unavailability, permission denial, or transient system error), and (4) the attacker or malicious process capable of accessing the resulting mislabeled device node. The vulnerability does NOT require user interaction, special network configuration, or non-default filesystem setup. Exploitation is prevented on: (1) non-SELinux systems, (2) systems where mknod is not available or restricted by capability dropping, (3) successful SELinux labeling (normal operation), and (4) systems where the resulting device node is restricted by filesystem permissions independent of SELinux labels. |
| Impact | CVSS 3.4 (low) with vector AV:L/AC:L/PR:H indicates local-only attack surface requiring root or elevated privileges, no user interaction, and low complexity - appropriate for a privilege management flaw in a sysadmin utility. SSVC framework alignment: Exploitation=none (no active exploitation), Automatable=no (requires local access and specific failure conditions), Technical Impact=partial (partial integrity and confidentiality impact from mislabeled nodes). The authentication bypass tag is justified: once a mislabeled device node exists, unprivileged users or processes with weaker SELinux domains may gain unauthorized access that would have been denied by the intended label. However, real-world risk is constrained by three factors: (1) requires active exploitation of mknod with intentional or incidental labeling failure, (2) impact is localized to that specific device node, not systemic, and (3) systems without SELinux enabled are unaffected. This is a real but limited-scope vulnerability - not a critical infrastructure threat, but a defense-in-depth concern for hardened systems relying on SELinux for device access control. |
| Exploit ScenarioDerived | A local attacker with root privileges (or via privilege escalation) executes mknod to create a device node for a security-critical device (e.g., /dev/mem, /dev/kmem). The attacker deliberately triggers a labeling failure (e.g., by corrupting SELinux policy files or exhausting label storage) so cleanup fails. The device node remains with permissive default context. An unprivileged process or user session can then access the device, bypassing intended SELinux restrictions and potentially escalating privileges or exfiltrating kernel memory. Alternatively, a configuration management system or init script fails silently during device node creation, unintentionally leaving mislabeled nodes in production. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 23, 2026
The mknod utility in uutils coreutils creates device nodes before atomically applying SELinux security labels, and fails to properly clean up mislabeled nodes if labeling operations fail. This leaves device nodes with incorrect default SELinux contexts, potentially bypassing mandatory access control restrictions on systems where SELinux is enforcing. Affects coreutils versions prior to 0.6.0; exploitation requires local root or elevated privileges and is not currently publicly exploited, though cleanup failures are guaranteed on labeling failure.
RemediationAI
Vendor-released patch: upgrade to uutils coreutils 0.6.0 or later (see GitHub release tag at https://github.com/uutils/coreutils/releases/tag/0.6.0). The upstream fix (PR #10582 at https://github.com/uutils/coreutils/pull/10582) implements atomic node creation and labeling by applying SELinux contexts before completing the mknod operation, or rolling back the node creation entirely if labeling fails. For systems unable to upgrade immediately, compensating controls include: restrict mknod utility execution via Linux capabilities (CAP_MKNOD) to only trusted system services, use AppArmor or SELinux policies to confine mknod invocations and deny label-setting on sensitive device paths, or disable mknod altogether if device nodes are pre-created at boot. Note that these controls add operational complexity and may break legitimate system administration workflows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The mknod utility is responsible for creating special device files (character or block devices) and named pipes (FIFOs) in Unix-like filesystems. The vulnerability lies in the non-atomic sequence: the utility first creates the device node with default permissions and context, then attempts to apply SELinux security labels via the libselinux API. If the labeling step fails (due to missing SELinux policy, permission denial, or other errors), the code attempts cleanup using std::fs::remove_dir, which is designed for directory removal and cannot remove device nodes or FIFO files. This is a privilege escalation and access control bypass vulnerability rooted in CWE-281 (Improper Access Control - improper or missing enforcement of mandatory access controls). The root cause is the assumption that remove_dir will clean up any filesystem object, when device nodes require unlink() or equivalent removal primitives.
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
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
The mknod utility in uutils coreutils fails to handle security labels atomically by creating device nodes before setting the SELinux context. If labeling fails, the utility attempts cleanup using std::fs::remove_dir, which cannot remove device nodes or FIFOs. This leaves mislabeled nodes behind with incorrect default contexts, potentially allowing unauthorized access to device nodes that should have been restricted by mandatory access controls.
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
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of service (crash) or possibly ex
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
The ln utility in uutils coreutils fails to process source paths containing non-UTF-8 filename bytes when using target-d
The chmod utility in uutils coreutils versions prior to 0.6.0 incorrectly reports success (exit code 0) when recursively
The printenv utility in uutils coreutils versions before 0.6.0 silently omits environment variables containing invalid U
Privilege escalation to root in uutils coreutils chroot utility allows low-privileged local attackers with write access
Bypass of --preserve-root protection in uutils coreutils rm utility allows local users to recursively delete the root fi
Local privilege escalation in uutils coreutils before 0.10.0: the `install` utility applies a requested setuid/setgid mo
Logic error in uutils coreutils cut utility causes incorrect behavior when combining the -s (only-delimited), -z (null-t
The id utility in uutils coreutils displays incorrect effective user information in its pretty-print output when real an
Privilege escalation in uutils coreutils mkfifo utility allows local attackers with low privileges to manipulate file pe
EUVD-2026-25004
GHSA-79rc-qpw3-jv92
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB