The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-35360

CVE-2026-35360: uutils coreutils Race Condition Flaw

CVE-2026-35360 is a Time-of-Check to Time-of-Use race condition in the uutils coreutils touch utility that enables attackers to cause data loss. This article covers technical details, affected versions, and mitigations.

Published: April 23, 2026

CVE-2026-35360 Overview

The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internally uses O_TRUNC. An attacker can exploit this window to create a file or swap a symlink at the target path, causing touch to truncate an existing file and leading to permanent data loss.

Critical Impact

Local attackers with limited privileges can exploit the race condition window to cause permanent data loss by manipulating the target path between the existence check and file creation operations.

Affected Products

  • uutils coreutils (touch utility)

Discovery Timeline

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

Technical Details for CVE-2026-35360

Vulnerability Analysis

This vulnerability is classified as CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition. The fundamental issue arises from a temporal gap between when the touch utility checks for the existence of a file path and when it subsequently performs file operations on that path.

The touch utility first performs a check to determine if the target file exists. If the file does not exist, the utility later calls File::create() to create the file. However, File::create() in Rust uses the O_TRUNC flag internally, which truncates any existing file to zero length. This creates a race window that an attacker can exploit.

An attacker with local access can monitor for touch operations and, during the window between the existence check and the File::create() call, either create a file at the target path or swap in a symlink pointing to a sensitive file. When touch proceeds with File::create(), it will truncate whatever file now exists at that path—potentially destroying critical data.

Root Cause

The root cause is the separation of the file existence check from the subsequent file creation operation. The touch utility does not use atomic operations that would eliminate the race window. Instead of using a single atomic operation that creates the file only if it doesn't exist (like O_CREAT | O_EXCL), the current implementation performs a separate check followed by a create operation with O_TRUNC.

Attack Vector

The attack requires local access with low privileges. An attacker must be able to:

  1. Monitor the file system for touch operations targeting specific paths
  2. Have write access to the parent directory of the target path
  3. Create files or symlinks quickly enough to win the race condition

While the attack complexity is high due to the timing-sensitive nature of race conditions, successful exploitation leads to integrity and availability impacts through data truncation and permanent loss.

The attacker would typically create a monitoring process that watches for the target path check, then rapidly creates a symlink pointing to a victim file (such as configuration files, databases, or logs) before the touch utility completes its File::create() call.

Detection Methods for CVE-2026-35360

Indicators of Compromise

  • Unexpected truncation of critical files to zero bytes with no corresponding legitimate write operations
  • Presence of suspicious symlinks in directories where touch operations are commonly performed
  • Rapid file system activity patterns indicating race condition exploitation attempts
  • Log entries showing file access timing anomalies around touch utility operations

Detection Strategies

  • Monitor file system integrity using tools that detect unexpected file size changes, particularly truncation to zero bytes
  • Implement audit logging for symlink creation operations in sensitive directories
  • Deploy file integrity monitoring (FIM) solutions to detect unauthorized modifications to critical files
  • Use system call tracing to identify suspicious patterns of stat() followed by rapid symlink operations

Monitoring Recommendations

  • Enable detailed audit logging for file system operations involving the touch utility
  • Configure alerts for zero-length file creation events affecting critical system files
  • Monitor for unusual symlink creation patterns in directories commonly targeted by touch operations
  • Implement baseline monitoring for expected touch utility usage to identify anomalous behavior

How to Mitigate CVE-2026-35360

Immediate Actions Required

  • Review usage of the touch utility in automated scripts and cron jobs that may operate on predictable paths
  • Implement directory-level access controls to limit who can create files or symlinks in sensitive locations
  • Consider using alternative file creation methods that employ atomic operations until a patch is available
  • Audit critical directories for unexpected symlinks that could be exploitation staging artifacts

Patch Information

No official patch has been confirmed at the time of this writing. Security teams should monitor the uutils coreutils GitHub repository for updates and patch releases. The fix would likely involve using atomic file creation operations such as O_CREAT | O_EXCL instead of the current two-step check-then-create approach.

Workarounds

  • Restrict write permissions on parent directories where touch is expected to create files
  • Use filesystem-level immutable attributes on critical files that should never be truncated
  • Implement mandatory access control (MAC) policies using SELinux or AppArmor to limit touch utility operations
  • Replace touch usage in security-critical scripts with atomic file creation alternatives

For scripts requiring touch-like functionality, consider using atomic alternatives:

bash
# Alternative: Use set -o noclobber and redirection for atomic creation
# This prevents clobbering existing files
set -o noclobber
: > "$target_file" 2>/dev/null || true

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechUutils Coreutils

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-367
  • Technical References
  • GitHub Issue Discussion
  • Related CVEs
  • CVE-2026-35374: uutils coreutils TOCTOU Vulnerability

  • CVE-2026-35362: uutils coreutils Race Condition Vulnerability

  • CVE-2026-35355: uutils coreutils Race Condition Flaw

  • CVE-2026-35352: uutils coreutils Race Condition 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