Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35353: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils

0
Low
VulnerabilityCVE-2026-35353cvecve-2026-35353cwe-367
Published: Wed Apr 22 2026 (04/22/2026, 16:08:09 UTC)
Source: CVE Database V5
Vendor/Project: Uutils
Product: coreutils

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 17:02:00 UTC

Technical Analysis

The mkdir utility in uutils coreutils incorrectly handles permission setting when the -m flag is used. Instead of atomically creating the directory with the requested permissions, it first creates the directory with default umask permissions and then changes them with a separate chmod call. This TOCTOU race condition can expose directories intended to be private to other users for a short time in multi-user environments. The vulnerability is identified as CWE-367 and has a low severity rating (CVSS 3.3). There is no vendor advisory or patch information available at this time.

Potential Impact

The vulnerability allows a brief window during directory creation where permissions are more permissive than intended, potentially enabling unauthorized users to access directories that should be private. However, the impact is limited to information disclosure (confidentiality) and does not affect integrity or availability. The low CVSS score reflects the limited scope and complexity of exploitation.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should be aware of the potential race condition when using the -m flag with mkdir in uutils coreutils and consider alternative methods or additional access controls to protect sensitive directories in multi-user environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 4/22/2026, 4:31:12 PM

Last enriched: 4/22/2026, 5:02:00 PM

Last updated: 4/23/2026, 2:42:51 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses