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

CVE-2026-35359: uutils coreutils Privilege Escalation

CVE-2026-35359 is a TOCTOU privilege escalation flaw in uutils coreutils that allows attackers to bypass no-dereference protections and access sensitive files. This post covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-35359 Overview

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the cp utility of uutils coreutils that allows an attacker to bypass no-dereference intent. The utility checks if a source path is a symbolic link using path-based metadata but subsequently opens it without the O_NOFOLLOW flag. An attacker with concurrent write access can swap a regular file for a symbolic link during this window, causing a privileged cp process to copy the contents of arbitrary sensitive files into a destination controlled by the attacker.

Critical Impact

Attackers with local access can exploit the race condition window to read arbitrary sensitive files by manipulating symbolic links during privileged copy operations.

Affected Products

  • uutils coreutils cp utility (vulnerable versions)

Discovery Timeline

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

Technical Details for CVE-2026-35359

Vulnerability Analysis

This TOCTOU vulnerability (CWE-59: Improper Link Resolution Before File Access) arises from a fundamental race condition in the cp utility's handling of symbolic links. The vulnerability requires local access and presents a high complexity exploitation scenario, but when successfully exploited, it can lead to complete confidentiality compromise of arbitrary files on the system.

The core issue lies in the separation between the security check and the file operation. When the cp utility processes a source file, it first performs a path-based metadata check to determine if the source is a symbolic link. This check is intended to honor the no-dereference behavior when specified. However, the subsequent file open operation does not use the O_NOFOLLOW flag, creating a window of opportunity between these two operations.

Root Cause

The root cause stems from the cp utility performing a two-phase operation where:

  1. The utility checks file metadata using path-based functions (e.g., lstat()) to determine if the source is a symbolic link
  2. The utility then opens the file for reading without passing O_NOFOLLOW to open()

This design violates the principle of atomicity in security-critical operations. Between the check and the use, the file system state can change, allowing an attacker to substitute a regular file with a symbolic link pointing to a sensitive target file.

Attack Vector

The attack requires local system access and the ability to write to the directory containing the source file. An attacker must win a race condition by:

  1. Creating a regular file that a privileged process (running as root or another user) will copy
  2. Monitoring for the cp operation to begin
  3. Quickly swapping the regular file for a symbolic link pointing to a sensitive file (e.g., /etc/shadow, SSH private keys, or other confidential data)
  4. If successful, the privileged cp process will copy the contents of the target file to the attacker-controlled destination

The attack is probabilistic due to the timing window, but can be made more reliable through techniques such as causing filesystem delays or exploiting slow network-mounted filesystems.

For additional technical details regarding this vulnerability, see the GitHub Issue Discussion for the uutils coreutils project.

Detection Methods for CVE-2026-35359

Indicators of Compromise

  • Unusual symbolic link creation activity in directories where privileged copy operations occur
  • Evidence of rapid file replacement patterns (file → symlink → file) in filesystem audit logs
  • Sensitive files appearing in unexpected locations with ownership by unprivileged users

Detection Strategies

  • Enable filesystem auditing (auditd) to monitor symlink(), unlink(), and rename() syscalls in sensitive directories
  • Monitor for privileged cp processes accessing files in user-writable directories
  • Implement file integrity monitoring (FIM) to detect unexpected changes to sensitive configuration files

Monitoring Recommendations

  • Configure audit rules for directories where privileged copy operations regularly occur
  • Deploy SentinelOne Singularity to detect anomalous file access patterns and potential race condition exploitation attempts
  • Review process execution logs for cp operations running with elevated privileges on user-controlled paths

How to Mitigate CVE-2026-35359

Immediate Actions Required

  • Avoid running privileged cp operations on files in directories where untrusted users have write access
  • Use GNU coreutils instead of uutils coreutils until a patch is available
  • Implement strict directory permissions to prevent untrusted users from modifying source file paths

Patch Information

No official patch has been released at the time of publication. Monitor the GitHub Issue Discussion for updates on the fix status. The proper remediation should involve using O_NOFOLLOW when opening files or using file descriptor-based operations (fstatat() with AT_SYMLINK_NOFOLLOW followed by operations on the same file descriptor) to eliminate the race window.

Workarounds

  • Restrict privileged copy operations to directories with appropriate ownership and permissions (owned by root with no write access for unprivileged users)
  • Use cp with explicit target validation by first copying to a secure temporary directory
  • Consider using alternative file copy mechanisms that properly handle symbolic links atomically
bash
# Restrict directory permissions to prevent exploitation
chmod 755 /path/to/source/directory
chown root:root /path/to/source/directory

# Alternative: Use rsync with symlink handling options
rsync -avP --no-links /source/file /destination/

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechUutils Coreutils

  • SeverityMEDIUM

  • CVSS Score4.7

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-59
  • Technical References
  • GitHub Issue Discussion
  • Related CVEs
  • CVE-2026-35372: uutils coreutils ln Privilege Escalation

  • CVE-2026-35368: uutils coreutils Privilege Escalation

  • CVE-2026-35340: uutils coreutils Privilege Escalation

  • CVE-2026-35341: uutils coreutils Privilege Escalation
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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