Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-35350

CVE-2026-35350: uutils coreutils Privilege Escalation

CVE-2026-35350 is a privilege escalation flaw in uutils coreutils that allows setuid/setgid bits to remain on user-owned copies when ownership preservation fails, creating unexpected privileged executables. This article covers its impact, affected versions, and mitigation strategies.

Published: April 23, 2026

CVE-2026-35350 Overview

The cp utility in uutils coreutils contains an improper preservation of permissions vulnerability (CWE-281) that affects how setuid and setgid bits are handled when ownership preservation fails. When copying files with the -p (preserve) flag, the utility incorrectly applies the source mode bits even when the chown operation is unsuccessful. This behavior can result in a user-owned copy retaining the original privileged setuid/setgid bits, creating unexpected privileged executables that violate local security policies.

This vulnerability represents a deviation from expected behavior compared to GNU cp, which properly clears these privileged bits when ownership cannot be preserved.

Critical Impact

Local attackers with limited privileges could leverage improperly preserved setuid/setgid bits to create executables that appear to run with elevated permissions, potentially bypassing local security controls and enabling privilege escalation scenarios.

Affected Products

  • uutils coreutils (affected versions not specified)
  • Systems using uutils coreutils cp utility with -p flag

Discovery Timeline

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

Technical Details for CVE-2026-35350

Vulnerability Analysis

This vulnerability stems from improper handling of privileged permission bits (setuid and setgid) during file copy operations. When a user invokes the uutils cp command with the -p (preserve) flag, the utility attempts to preserve the original file's attributes including ownership and mode bits. However, when the chown system call fails (typically due to insufficient privileges to change file ownership), the utility proceeds to apply the original mode bits regardless.

The practical impact is significant: if a root-owned executable with setuid bit is copied by an unprivileged user, the copy becomes owned by that user while retaining the setuid bit. While the setuid bit on a non-root-owned file doesn't grant root privileges, this behavior violates the principle of least surprise and can create security policy violations in environments where setuid/setgid bit management is critical.

GNU coreutils cp handles this scenario correctly by clearing the setuid and setgid bits when ownership cannot be preserved, following the POSIX-recommended behavior for privilege bit handling.

Root Cause

The root cause is a logic flaw in the uutils coreutils cp utility's attribute preservation code path. The vulnerability occurs because:

  1. The utility attempts to preserve ownership via chown
  2. When chown fails, the error is handled but does not trigger clearing of privileged bits
  3. The subsequent chmod operation applies the original mode bits including setuid/setgid
  4. This results in the privileged bits being preserved on a file where they should have been cleared

This represents an Improper Preservation of Permissions (CWE-281) vulnerability where security-relevant permission bits are not properly managed during error conditions.

Attack Vector

The attack vector is local and requires an attacker to have access to a system running the vulnerable uutils coreutils implementation. An attacker would need:

  1. Local system access with limited user privileges
  2. Read access to a setuid/setgid binary owned by another user (typically root)
  3. Write access to a directory where they can create the copy

The exploitation scenario involves copying a privileged binary using cp -p, resulting in a user-owned copy that unexpectedly retains privileged permission bits. While this alone may not directly escalate privileges, it creates potential security policy violations and could be combined with other vulnerabilities.

For technical details on the vulnerability behavior, see the GitHub Issue Discussion.

Detection Methods for CVE-2026-35350

Indicators of Compromise

  • Presence of user-owned files with setuid or setgid bits set in unexpected locations
  • Audit logs showing cp -p operations on setuid/setgid binaries followed by execution attempts
  • Files with setuid/setgid bits that are owned by non-root users in writable directories

Detection Strategies

  • Monitor file system for newly created files with setuid (4000) or setgid (2000) permission bits using tools like find / -perm /6000 -type f
  • Implement file integrity monitoring (FIM) to detect creation of setuid/setgid files outside of expected system directories
  • Audit cp command usage with preservation flags targeting privileged binaries

Monitoring Recommendations

  • Enable auditd rules to log chmod and chown syscalls on executables in user-writable directories
  • Configure SentinelOne endpoint agents to alert on setuid/setgid file creation events
  • Implement periodic scanning for setuid/setgid files in non-standard locations using scheduled security audits

How to Mitigate CVE-2026-35350

Immediate Actions Required

  • Review systems for use of uutils coreutils and identify where the cp utility may be invoked with preservation flags
  • Audit existing files for improperly set setuid/setgid bits using find / -user <non-root-user> -perm /6000 -type f
  • Consider switching to GNU coreutils for critical systems until a patch is available

Patch Information

No official patch has been released at the time of publication. Administrators should monitor the uutils coreutils GitHub repository for updates regarding a security fix. Once a patch is available, update to the patched version immediately.

Workarounds

  • Use GNU coreutils cp instead of uutils cp for operations involving setuid/setgid files
  • Implement wrapper scripts that strip setuid/setgid bits after copy operations using chmod u-s,g-s
  • Apply restrictive mount options (nosuid) on user-writable filesystems to prevent setuid/setgid bit exploitation
  • Implement mandatory access control (SELinux, AppArmor) policies to restrict setuid/setgid file creation
bash
# Configuration example
# Find and clear improperly set setuid/setgid bits on user-owned files
find /home -user $(whoami) -perm /6000 -type f -exec chmod u-s,g-s {} \;

# Mount user directories with nosuid to prevent setuid/setgid exploitation
mount -o remount,nosuid /home

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechCoreutils

  • SeverityMEDIUM

  • CVSS Score6.6

  • EPSS Probability0.01%

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

  • CVE-2026-35353: uutils coreutils Privilege Escalation Flaw

  • CVE-2026-35380: uutils coreutils Logic Error Vulnerability

  • CVE-2026-35379: uutils coreutils Logic Error 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