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

CVE-2026-35339: uutils coreutils Information Disclosure

CVE-2026-35339 is an information disclosure flaw in uutils coreutils chmod that causes incorrect exit codes when processing multiple files. This post covers technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-35339 Overview

The recursive mode (-R) of the chmod utility in uutils coreutils incorrectly handles exit codes when processing multiple files. The final return value is determined solely by the success or failure of the last file processed. This allows the command to return an exit code of 0 (success) even if errors were encountered on previous files, such as 'Operation not permitted'. Scripts relying on these exit codes may proceed under a false sense of success while sensitive files remain with restrictive or incorrect permissions.

Critical Impact

Automated scripts and deployment pipelines relying on chmod -R exit codes may fail silently, leaving sensitive files with incorrect permissions and creating potential security gaps in file access controls.

Affected Products

  • uutils coreutils (versions prior to 0.6.0)

Discovery Timeline

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

Technical Details for CVE-2026-35339

Vulnerability Analysis

This vulnerability falls under CWE-253 (Incorrect Check of Function Return Value), where the chmod utility in uutils coreutils fails to properly aggregate and report errors that occur during recursive file permission changes. When operating in recursive mode with the -R flag, the utility processes files sequentially but only considers the outcome of the final file operation when determining the overall exit code.

The impact is particularly concerning in automated environments where scripts depend on exit codes to verify successful permission changes. A script might attempt to set restrictive permissions on a directory tree containing files owned by different users. If the utility encounters "Operation not permitted" errors on files it cannot modify but successfully processes the final file, the exit code will be 0 (success). The calling script has no indication that critical files were not modified, potentially leaving sensitive data accessible when it should have been restricted.

Root Cause

The root cause lies in the exit code handling logic within the recursive chmod implementation. Rather than accumulating error states across all processed files and returning a non-zero exit code if any operation failed, the implementation overwrites the return value with each file processed. This design flaw means only the last file's operation result influences the final exit code, violating the expected POSIX behavior where any encountered error should result in a non-zero exit status.

Attack Vector

This vulnerability requires local access and low privileges to exploit. An attacker could exploit this behavior in environments where:

  1. Automated deployment or configuration scripts use chmod -R to set security-critical permissions
  2. The scripts rely on exit codes to verify successful permission changes
  3. The attacker has placed files in the target directory tree that cannot be modified by the script's user

By strategically placing unmodifiable files early in the directory traversal order, an attacker could cause permission-setting scripts to fail silently, leaving files with incorrect permissions. The scripts would continue execution believing permissions were successfully set, potentially exposing sensitive data or allowing unauthorized access to restricted resources.

Detection Methods for CVE-2026-35339

Indicators of Compromise

  • Scripts using chmod -R completing successfully but with files retaining incorrect permissions
  • Log entries showing "Operation not permitted" errors from chmod operations that reported success
  • Inconsistent file permissions across directory trees that should have uniform access controls
  • Automated deployment logs showing successful permission changes with post-verification failures

Detection Strategies

  • Implement post-execution permission verification in scripts that use recursive chmod operations
  • Monitor for discrepancies between expected and actual file permissions after deployment scripts run
  • Add explicit logging of chmod stderr output separate from exit code checking
  • Deploy file integrity monitoring to detect unexpected permission states

Monitoring Recommendations

  • Enable verbose logging for all chmod operations in automation scripts to capture individual file errors
  • Implement automated permission auditing after deployment or configuration changes
  • Create alerts for permission verification failures in CI/CD pipelines
  • Monitor system logs for "Operation not permitted" messages associated with permission management operations

How to Mitigate CVE-2026-35339

Immediate Actions Required

  • Upgrade uutils coreutils to version 0.6.0 or later which contains the fix
  • Review automated scripts that use chmod -R and add explicit permission verification steps
  • Audit recent deployments for potential permission inconsistencies caused by this behavior
  • Consider using the traditional GNU coreutils chmod until upgrade is complete

Patch Information

The fix for this vulnerability is available in uutils coreutils version 0.6.0. The patch properly accumulates error states during recursive operations and returns a non-zero exit code if any file operation fails. For detailed information about the fix, see the GitHub Pull Request and the GitHub Release Tag 0.6.0.

Workarounds

  • Wrap chmod -R calls with explicit permission verification using find and stat commands
  • Capture and parse stderr output from chmod operations to detect individual file errors
  • Use alternative permission management tools that properly report aggregated errors
  • Implement custom wrapper scripts that verify permissions on all target files after chmod completes
bash
# Workaround: Verify permissions after recursive chmod
chmod -R 750 /path/to/directory 2>&1 | tee /tmp/chmod_errors.log

# Check for any errors in the output
if grep -q "Operation not permitted\|Permission denied" /tmp/chmod_errors.log; then
    echo "ERROR: Some files could not be modified"
    exit 1
fi

# Alternative: Verify expected permissions were applied
find /path/to/directory -type f ! -perm 750 -print | head -n 1 | grep -q . && {
    echo "ERROR: Permission verification failed"
    exit 1
}

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechUutils Coreutils

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.01%

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

  • GitHub Release Tag 0.6.0
  • Related CVEs
  • CVE-2026-35381: uutils coreutils Information Disclosure

  • CVE-2026-35367: uutils coreutils Information Disclosure

  • CVE-2026-35346: uutils coreutils Information Disclosure

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