Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35353

CVE-2026-35353: uutils coreutils Privilege Escalation Flaw

CVE-2026-35353 is a privilege escalation vulnerability in uutils coreutils mkdir that exposes directories during creation. This article covers the technical details, affected versions, security impact, and mitigation.

Published: April 23, 2026

CVE-2026-35353 Overview

The mkdir utility in uutils coreutils contains a Time-of-Check Time-of-Use (TOCTOU) race condition vulnerability when using the -m flag for directory creation. The utility incorrectly applies permissions by first creating a directory with umask-derived permissions (typically 0755) before subsequently changing them to the requested mode via a separate chmod system call. This non-atomic operation introduces a brief window where a directory intended to be private is accessible to other users in multi-user environments, potentially leading to unauthorized data access.

Critical Impact

In multi-user environments, attackers with local access can exploit the brief permission window to access directories that should be private, potentially exposing sensitive data before the intended restrictive permissions are applied.

Affected Products

  • uutils coreutils versions prior to 0.6.0

Discovery Timeline

  • 2026-04-22 - CVE CVE-2026-35353 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-35353

Vulnerability Analysis

This vulnerability is classified as CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition. The core issue lies in how the mkdir utility handles the -m (mode) flag. Rather than creating the directory with the specified permissions atomically, the implementation performs two separate system calls: first creating the directory with default umask-derived permissions, then modifying those permissions via chmod.

The security impact is focused on confidentiality exposure in shared computing environments. An attacker with local access can monitor for directory creation events and exploit the timing window between the initial creation and the subsequent permission change. While the window is brief, automated exploitation tools could potentially access or list directory contents before restrictive permissions are applied.

Root Cause

The root cause is the non-atomic handling of directory creation with custom permissions. The mkdir implementation in uutils coreutils separates the directory creation step from the permission assignment step, creating a race condition. The proper fix requires using the mkdir() system call with the correct mode from the outset, or ensuring the umask is temporarily modified to create the directory with restrictive permissions initially.

Attack Vector

This vulnerability requires local access to the system. An attacker must have user-level privileges on a multi-user system where the vulnerable mkdir utility is being used. The attack scenario involves:

  1. Monitoring for directory creation events using filesystem notification mechanisms (e.g., inotify)
  2. Rapidly accessing the newly created directory during the permission window
  3. Reading or listing sensitive contents before restrictive permissions are applied

The attack does not require user interaction and can be automated with relatively low complexity. However, successful exploitation depends on timing and the attacker's ability to access the target directory within the brief window before permissions are corrected.

Detection Methods for CVE-2026-35353

Indicators of Compromise

  • Unexpected directory access events in audit logs where timestamps closely follow directory creation timestamps
  • Filesystem monitoring tools detecting rapid access patterns to newly created directories by users other than the creator
  • Log entries showing successful file reads or directory listings followed immediately by permission denied errors on subsequent attempts

Detection Strategies

  • Enable filesystem auditing for directory creation and access events using auditd rules targeting mkdir and openat system calls
  • Monitor for processes that appear to be watching filesystem events and rapidly accessing newly created directories
  • Implement file integrity monitoring to detect unexpected access to sensitive directories

Monitoring Recommendations

  • Configure auditd to log directory creation events with rule: -a always,exit -F arch=b64 -S mkdir -S mkdirat -k dir_create
  • Review access logs for directories created with the -m flag for any access occurring within milliseconds of creation
  • Monitor for suspicious use of filesystem notification APIs (inotify_add_watch) by non-administrative users

How to Mitigate CVE-2026-35353

Immediate Actions Required

  • Update uutils coreutils to version 0.6.0 or later, which contains the fix for this vulnerability
  • Audit systems to identify where uutils coreutils mkdir is used with the -m flag
  • Consider using restrictive umask settings (umask 077) as a temporary workaround on multi-user systems

Patch Information

The vulnerability has been addressed in uutils coreutils version 0.6.0. The fix is available via the GitHub Pull Request #10036. Users should update to the 0.6.0 release or later to remediate this vulnerability.

Workarounds

  • Set a restrictive umask (umask 077) before creating directories with sensitive content to minimize the permission exposure window
  • Use GNU coreutils mkdir instead of uutils coreutils if available, as it handles the -m flag atomically
  • Create directories in a protected parent directory with restricted permissions, then move or rename them to the final location
  • Avoid using the -m flag and instead set permissions after directory creation with a manual chmod call when working with highly sensitive data
bash
# Workaround: Set restrictive umask before directory creation
umask 077
mkdir /path/to/sensitive_directory
chmod 700 /path/to/sensitive_directory

# Alternative: Use GNU coreutils if available
/usr/bin/mkdir -m 700 /path/to/sensitive_directory

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechCoreutils

  • SeverityLOW

  • CVSS Score3.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-367
  • Technical References
  • GitHub Pull Request

  • GitHub Release Tag 0.6.0
  • Related CVEs
  • CVE-2026-35350: uutils coreutils Privilege Escalation

  • CVE-2026-35361: uutils coreutils Privilege Escalation

  • CVE-2026-35380: uutils coreutils Logic Error Vulnerability

  • CVE-2026-35379: uutils coreutils Logic Error Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English