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

CVE-2026-35349: uutils coreutils Auth Bypass Vulnerability

CVE-2026-35349 is an authentication bypass flaw in uutils coreutils rm utility that allows attackers to circumvent --preserve-root protection via symbolic links. This article covers technical details, affected versions, and mitigation.

Published: April 23, 2026

CVE-2026-35349 Overview

A vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection mechanism. The implementation uses a path-string check rather than comparing device and inode numbers to identify the root directory. An attacker or accidental user can bypass this safeguard by using a symbolic link that resolves to the root directory (e.g., /tmp/rootlink -> /), potentially leading to the unintended recursive deletion of the entire root filesystem.

Critical Impact

This vulnerability enables complete filesystem destruction through symbolic link manipulation, bypassing the safety mechanism designed to prevent accidental deletion of the root directory.

Affected Products

  • uutils coreutils versions prior to 0.7.0

Discovery Timeline

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

Technical Details for CVE-2026-35349

Vulnerability Analysis

This vulnerability (CWE-59: Improper Link Resolution Before File Access) exists in the rm utility's --preserve-root implementation within uutils coreutils. The --preserve-root option is a critical safety mechanism designed to prevent users from accidentally deleting the entire filesystem by running commands like rm -rf /.

The fundamental flaw lies in how the utility identifies the root directory. Instead of using reliable filesystem metadata such as device ID and inode numbers to uniquely identify the root directory, the implementation performs a simple string comparison on the path argument. This approach fails to account for symbolic links that resolve to the root directory.

When a user creates a symbolic link pointing to / (for example, ln -s / /tmp/rootlink) and then attempts to recursively delete that link's target, the --preserve-root check only examines the literal path string /tmp/rootlink rather than resolving where it actually points. Since the string /tmp/rootlink does not match /, the protection is bypassed, and the recursive deletion proceeds against the actual root filesystem.

Root Cause

The root cause is an improper link resolution check (CWE-59) in the path validation logic. The --preserve-root implementation compares the provided path string directly rather than resolving symbolic links and comparing the underlying device and inode numbers. This string-based approach is fundamentally insecure because symbolic links can point anywhere on the filesystem, allowing adversaries or careless users to circumvent path-based restrictions.

Attack Vector

This is a local attack vector requiring direct system access or command execution capabilities. An attacker with the ability to execute commands on a target system can:

  1. Create a symbolic link pointing to the root directory (e.g., ln -s / /tmp/rootlink)
  2. Execute rm -rf /tmp/rootlink with sufficient privileges
  3. The --preserve-root check fails to detect that the operation targets the root filesystem
  4. The entire root filesystem is recursively deleted, resulting in complete system destruction

The attack is particularly dangerous because it exploits a safety mechanism that users and administrators may trust to prevent catastrophic mistakes. This vulnerability requires no authentication bypass but does require local access or command injection capabilities.

Detection Methods for CVE-2026-35349

Indicators of Compromise

  • Presence of symbolic links in temporary directories (e.g., /tmp, /var/tmp) pointing to the root directory /
  • Unexpected filesystem damage or missing critical system files
  • Process monitoring showing rm commands targeting unusual symbolic links with recursive flags

Detection Strategies

  • Monitor for symbolic link creation events pointing to the root directory using file integrity monitoring tools
  • Implement auditd rules to log all rm command executions with recursive flags (-r, -rf, --recursive)
  • Deploy endpoint detection to alert on suspicious symbolic link patterns in temporary directories

Monitoring Recommendations

  • Enable filesystem auditing on critical directories to detect unexpected bulk deletions
  • Configure SIEM alerts for unusual rm command patterns or symbolic link manipulation
  • Implement real-time file integrity monitoring on critical system paths

How to Mitigate CVE-2026-35349

Immediate Actions Required

  • Upgrade uutils coreutils to version 0.7.0 or later immediately
  • Audit systems for any suspicious symbolic links pointing to the root directory
  • Restrict rm command usage through privilege controls where possible
  • Consider implementing additional safeguards such as safe-rm wrappers

Patch Information

The vulnerability has been addressed in uutils coreutils version 0.7.0. The fix implements proper device and inode comparison instead of simple path string matching. For technical details on the fix, see the GitHub Pull Request for Coreutils. The patched release is available at GitHub Coreutils Release 0.7.0.

Workarounds

  • Use the --one-file-system flag with rm commands to prevent crossing filesystem boundaries
  • Implement wrapper scripts that resolve symbolic links before executing destructive operations
  • Restrict write access to temporary directories where symbolic links could be maliciously created
  • Consider using GNU coreutils instead of uutils coreutils until patching is completed
bash
# Configuration example - Verify symlink targets before rm operations
# Check if a path resolves to root before allowing deletion
target=$(readlink -f "$1")
if [ "$target" = "/" ]; then
    echo "Error: Target resolves to root filesystem. Aborting."
    exit 1
fi

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechUutils Coreutils

  • SeverityMEDIUM

  • CVSS Score6.7

  • EPSS Probability0.01%

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

  • GitHub Coreutils Release 0.7.0
  • Related CVEs
  • CVE-2026-35370: uutils coreutils Auth Bypass Vulnerability

  • CVE-2026-35374: uutils coreutils TOCTOU Vulnerability

  • CVE-2026-35377: uutils coreutils env Utility DoS Flaw

  • CVE-2026-35381: uutils coreutils Information Disclosure
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