CVE-2026-35353: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
A TOCTOU race condition exists in the mkdir utility of uutils coreutils when using the -m flag. The directory is initially created with default umask permissions before being changed to the requested mode, creating a brief window where the directory may be accessible to other users. This can lead to unauthorized data access in multi-user environments. The vulnerability has a low CVSS score of 3.3 and currently no known exploits or official patches are available.
AI Analysis
Technical Summary
The mkdir utility in uutils coreutils incorrectly handles permissions when the -m flag is used by first creating a directory with umask-derived permissions (commonly 0755) and then changing the permissions with a separate chmod call. This introduces a time-of-check to time-of-use (TOCTOU) race condition, allowing other users to access the directory during the brief window before permissions are corrected. This vulnerability is tracked as CVE-2026-35353 and classified under CWE-367. It affects version 0 of the product. There is no official remediation or patch available at this time.
Potential Impact
In multi-user environments, the vulnerability allows a directory intended to be private to be temporarily accessible to other users. This can lead to unauthorized data access during the window between directory creation and permission adjustment. The impact is limited to confidentiality with no integrity or availability effects reported. The CVSS score of 3.3 reflects a low severity risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be aware of the potential race condition when using the -m flag with mkdir in uutils coreutils. Consider avoiding the use of the -m flag in sensitive multi-user environments or applying additional access controls at the filesystem or OS level to mitigate unauthorized access during directory creation.
CVE-2026-35353: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils
Description
A TOCTOU race condition exists in the mkdir utility of uutils coreutils when using the -m flag. The directory is initially created with default umask permissions before being changed to the requested mode, creating a brief window where the directory may be accessible to other users. This can lead to unauthorized data access in multi-user environments. The vulnerability has a low CVSS score of 3.3 and currently no known exploits or official patches are available.
CVSS v3.1
Score 3.3low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The mkdir utility in uutils coreutils incorrectly handles permissions when the -m flag is used by first creating a directory with umask-derived permissions (commonly 0755) and then changing the permissions with a separate chmod call. This introduces a time-of-check to time-of-use (TOCTOU) race condition, allowing other users to access the directory during the brief window before permissions are corrected. This vulnerability is tracked as CVE-2026-35353 and classified under CWE-367. It affects version 0 of the product. There is no official remediation or patch available at this time.
Potential Impact
In multi-user environments, the vulnerability allows a directory intended to be private to be temporarily accessible to other users. This can lead to unauthorized data access during the window between directory creation and permission adjustment. The impact is limited to confidentiality with no integrity or availability effects reported. The CVSS score of 3.3 reflects a low severity risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should be aware of the potential race condition when using the -m flag with mkdir in uutils coreutils. Consider avoiding the use of the -m flag in sensitive multi-user environments or applying additional access controls at the filesystem or OS level to mitigate unauthorized access during directory creation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-04-02T12:58:56.087Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e8f7d019fe3cd2cdd00c73
Added to database: 04/22/2026, 16:31:12 UTC
Last enriched: 07/06/2026, 23:16:35 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 121
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.