CVE-2026-35353: uutils coreutils mkdir Permission Exposure Race Condition with -m
The mkdir utility in uutils coreutils incorrectly applies permissions when using the -m flag by creating a directory with umask-derived permissions (typically 0755) before subsequently changing them to the requested mode via a separate chmod system call. In multi-user environments, this introduces a brief window where a directory intended to be private is accessible to other users, potentially leading to unauthorized data access.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/uu_mkdirto a version that resolves this vulnerability.Fixed in 0.6.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-35353?
CVE-2026-35353 has a medium severity due to the potential for unauthorized permission exposure.
How do I fix CVE-2026-35353?
To fix CVE-2026-35353, ensure you upgrade to uutils coreutils version 0.6.0 or later.
What causes CVE-2026-35353?
CVE-2026-35353 is caused by a race condition in the mkdir utility when using the -m flag.
Who is affected by CVE-2026-35353?
Users of uutils coreutils who implement the mkdir command with specified permissions using the -m flag are affected by CVE-2026-35353.
What are the consequences of CVE-2026-35353?
The consequence of CVE-2026-35353 is that it may lead to unintended permission settings, exposing sensitive directory contents.