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-35362

CVE-2026-35362: uutils coreutils Race Condition Vulnerability

CVE-2026-35362 is a race condition flaw in uutils coreutils affecting macOS and FreeBSD systems. The vulnerability exposes directory operations to symlink attacks. This article covers technical details, impact, and mitigation.

Published: April 23, 2026

CVE-2026-35362 Overview

A Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability exists in the safe_traversal module of uutils coreutils. The module, designed to protect against symlink races using file-descriptor-relative syscalls, is incorrectly limited to Linux targets only. On other Unix-like systems such as macOS and FreeBSD, the utility fails to utilize these protections, leaving directory traversal operations vulnerable to symlink race conditions that could allow attackers to manipulate file operations.

Critical Impact

Local attackers with low privileges can exploit TOCTOU race conditions during directory traversal operations on non-Linux Unix systems (macOS, FreeBSD), potentially leading to unauthorized file access or modification through symlink manipulation.

Affected Products

  • uutils coreutils (versions prior to 0.6.0) on macOS
  • uutils coreutils (versions prior to 0.6.0) on FreeBSD
  • uutils coreutils (versions prior to 0.6.0) on other non-Linux Unix-like systems

Discovery Timeline

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

Technical Details for CVE-2026-35362

Vulnerability Analysis

This vulnerability stems from CWE-367 (Time-of-Check Time-of-Use Race Condition), a classic race condition pattern where a security check is performed, but the state of the system changes between the check and the subsequent use of the resource.

The safe_traversal module in uutils coreutils was designed to provide protection against TOCTOU symlink races by using file-descriptor-relative syscalls (such as openat(), fstatat(), and similar functions). These syscalls allow operations to be performed relative to an already-opened directory file descriptor, preventing race conditions where an attacker could swap a directory for a symlink between the time a path is checked and when it's used.

However, due to incorrect platform-specific compilation directives, these protective measures are only enabled on Linux targets. When the coreutils utilities run on macOS, FreeBSD, or other Unix-like operating systems, the safer file-descriptor-relative syscalls are not utilized, falling back to potentially vulnerable path-based operations.

Root Cause

The root cause is a conditional compilation issue where the safe_traversal module's TOCTOU protections are gated behind Linux-specific target checks. The code likely uses Rust's #[cfg(target_os = "linux")] or similar conditional compilation attributes, which excludes non-Linux Unix platforms from receiving the same security protections. This represents an incomplete implementation of cross-platform security controls, where the developers correctly identified and mitigated the TOCTOU risk on Linux but failed to extend these protections to other supported Unix-like platforms.

Attack Vector

The attack requires local access to the system with low privileges. An attacker can exploit this vulnerability through the following general approach:

  1. The attacker identifies a directory traversal operation performed by a uutils coreutils utility on a non-Linux Unix system
  2. A legitimate directory path is created that will be traversed by the utility
  3. The attacker monitors for the target operation to begin
  4. During the brief window between path validation and file operation, the attacker rapidly replaces a directory component with a symbolic link pointing to a sensitive location
  5. The utility, lacking TOCTOU protection on non-Linux systems, follows the symlink and operates on the attacker-controlled target

The attack complexity is high due to the precise timing required to win the race condition. For detailed technical information on the vulnerability and fix implementation, see the GitHub Pull Request Discussion.

Detection Methods for CVE-2026-35362

Indicators of Compromise

  • Unexpected symbolic link creation or modification in directories used by uutils coreutils operations
  • Unusual file access patterns where utilities access files outside expected directory hierarchies
  • Process tracing showing rapid symlink swapping during directory traversal operations

Detection Strategies

  • Monitor for rapid symlink creation and deletion patterns using file system auditing tools (auditd on Linux, dtrace on macOS/FreeBSD)
  • Implement file integrity monitoring on sensitive directories to detect unexpected symlink appearances
  • Review system logs for uutils coreutils operations that access unexpected file paths

Monitoring Recommendations

  • Enable extended file system auditing on systems running uutils coreutils on non-Linux Unix platforms
  • Deploy endpoint detection solutions capable of identifying TOCTOU attack patterns
  • Monitor for anomalous process behavior during file operations, particularly symlink manipulation timing patterns

How to Mitigate CVE-2026-35362

Immediate Actions Required

  • Upgrade uutils coreutils to version 0.6.0 or later on all affected non-Linux Unix systems
  • Audit systems running uutils coreutils on macOS and FreeBSD to identify potentially affected deployments
  • Consider temporarily using the traditional GNU coreutils on non-Linux systems until the upgrade is completed

Patch Information

The vulnerability has been addressed in uutils coreutils version 0.6.0. The fix extends the safe_traversal module's TOCTOU protections to all Unix-like platforms, not just Linux. Users should upgrade to version 0.6.0 or later to receive the security fix. For complete release information, see the GitHub Release Notes for version 0.6.0.

Workarounds

  • Restrict local access to systems running vulnerable versions of uutils coreutils on non-Linux platforms
  • Use GNU coreutils instead of uutils coreutils on macOS and FreeBSD until patching is complete
  • Implement strict directory permissions and ownership controls to limit the directories where attackers could perform symlink manipulation
  • Consider mounting sensitive file systems with noexec and restricting symlink creation where possible
bash
# Verify uutils coreutils version
uutils --version

# If using Cargo, upgrade to the fixed version
cargo install coreutils --version ">=0.6.0"

# On systems using package managers, check for updates
# Example for Homebrew on macOS:
brew upgrade uutils-coreutils

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

  • SeverityLOW

  • CVSS Score3.6

  • EPSS Probability0.01%

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

  • GitHub Release Notes 0.6.0
  • Related CVEs
  • CVE-2026-35374: uutils coreutils TOCTOU Vulnerability

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

  • CVE-2026-35360: 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