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

CVE-2026-35354: uutils coreutils TOCTOU Vulnerability

CVE-2026-35354 is a Time-of-Check to Time-of-Use race condition in uutils coreutils mv utility that allows attackers to manipulate security attributes during cross-device moves. This post covers technical details, impact, and mitigation.

Published: April 23, 2026

CVE-2026-35354 Overview

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the mv utility of uutils coreutils during cross-device moves. The extended attribute (xattr) preservation logic uses multiple path-based system calls that perform fresh path-to-inode lookups for each operation. A local attacker with write access to the directory can exploit this race condition to swap files between calls, causing the destination file to receive an inconsistent mix of security extended attributes, such as SELinux labels or file capabilities.

Critical Impact

Successful exploitation allows attackers to manipulate security-critical extended attributes (xattrs) including SELinux labels and file capabilities, potentially leading to privilege escalation or security policy bypass on affected systems.

Affected Products

  • uutils coreutils (versions with vulnerable mv utility)
  • Linux systems using uutils coreutils for file operations
  • Systems relying on xattr-based security controls (SELinux, capabilities)

Discovery Timeline

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

Technical Details for CVE-2026-35354

Vulnerability Analysis

This vulnerability is classified as CWE-367 (Time-of-Check Time-of-Use), a race condition that occurs when a program checks the state of a resource and then uses that resource, but the resource's state can change between the check and the use.

In the context of the uutils coreutils mv utility, the vulnerability manifests during cross-device move operations. When moving files across different filesystems, the utility must copy the file and its metadata (including extended attributes) rather than simply updating directory entries. The xattr preservation logic performs multiple path-based system calls, each of which resolves the path to an inode independently.

The attack requires local access and the ability to write to the directory containing the target file. By carefully timing file swaps between the individual xattr-related system calls, an attacker can cause the destination file to inherit an inconsistent set of security attributes from different source files.

Root Cause

The root cause lies in the non-atomic nature of extended attribute preservation during cross-device moves. Each path-based system call (getxattr, setxattr, etc.) performs a fresh path-to-inode resolution. This creates a time window where the underlying file can be replaced between operations.

The fundamental issue is the use of path-based operations instead of file descriptor-based operations (fgetxattr, fsetxattr) that would maintain a consistent reference to the same inode throughout the operation sequence. This architectural choice allows an attacker to exploit the race window between consecutive system calls.

Attack Vector

The attack vector requires local access to the system with write permissions to the directory being targeted. The attacker must be able to:

  1. Monitor or predict when a cross-device mv operation will occur
  2. Rapidly swap files in the directory during the xattr preservation window
  3. Time the swap to occur between individual xattr-related system calls

The vulnerability mechanism involves path-based system calls performing independent path-to-inode lookups. During cross-device moves, the xattr preservation logic iterates through extended attributes, and between each path resolution, an attacker with directory write access can swap the target file. This results in the destination receiving mixed security attributes from different source files, potentially inheriting elevated privileges or inappropriate SELinux contexts.

For detailed technical discussion, see the GitHub Issue Discussion.

Detection Methods for CVE-2026-35354

Indicators of Compromise

  • Unexpected changes in file capabilities or SELinux contexts after move operations
  • Audit log entries showing rapid file renames or swaps in directories where mv operations are occurring
  • Files with security xattrs that don't match expected policies

Detection Strategies

  • Monitor system calls related to xattr operations using auditd rules for getxattr, setxattr, and related syscalls
  • Implement file integrity monitoring (FIM) to detect unexpected changes in security extended attributes
  • Use SELinux or AppArmor policy violation alerts to identify files with unexpected security contexts

Monitoring Recommendations

  • Enable detailed audit logging for file move operations across filesystems
  • Monitor for unusual patterns of rapid file creation/deletion in sensitive directories
  • Implement alerting for changes to file capabilities (security.capability xattr)
  • Track SELinux AVC denials that may indicate files with manipulated contexts

How to Mitigate CVE-2026-35354

Immediate Actions Required

  • Review and restrict write permissions on directories containing sensitive files
  • Consider using alternative file utilities (GNU coreutils) for security-critical operations until a patch is available
  • Implement additional access controls on directories where cross-device moves are performed
  • Audit recent cross-device move operations for potential exploitation

Patch Information

Refer to the GitHub Issue Discussion for the latest information on patches and fixes. The resolution would involve using file descriptor-based xattr operations (fgetxattr, fsetxattr) instead of path-based operations to maintain a consistent inode reference throughout the attribute preservation process.

Workarounds

  • Restrict directory write permissions to prevent untrusted users from swapping files during move operations
  • Use cp followed by rm with explicit verification of file attributes instead of mv for cross-device operations
  • Implement directory-level access controls (e.g., sticky bit) to prevent file manipulation by non-owners
  • Consider mounting filesystems with nosuid and noexec options where appropriate to limit impact
bash
# Configuration example - Restrict directory permissions
# Remove write access for group/others on sensitive directories
chmod 755 /path/to/sensitive/directory

# Enable sticky bit to prevent file manipulation by non-owners
chmod +t /path/to/shared/directory

# Audit rules for monitoring xattr operations
auditctl -a always,exit -F arch=b64 -S setxattr -S lsetxattr -S fsetxattr -k xattr_changes

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 Score4.7

  • 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:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • 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-35360: uutils coreutils Race Condition Flaw
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