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

CVE-2026-35361: uutils coreutils Privilege Escalation

CVE-2026-35361 is a privilege escalation vulnerability in uutils coreutils mknod utility that fails to atomically set SELinux contexts, leaving mislabeled device nodes. This article covers technical details, impact, and mitigation.

Published: April 23, 2026

CVE-2026-35361 Overview

The mknod utility in uutils coreutils contains a race condition vulnerability due to improper handling of security labels during device node creation. The utility creates device nodes before setting the SELinux context, and if the labeling operation fails, the cleanup attempt uses std::fs::remove_dir, which cannot remove device nodes or FIFOs. This results in mislabeled nodes persisting on the system with incorrect default contexts, potentially allowing unauthorized access to device nodes that should have been restricted by mandatory access controls.

Critical Impact

Mislabeled device nodes may bypass SELinux mandatory access controls, potentially allowing unauthorized local access to restricted hardware devices.

Affected Products

  • uutils coreutils (versions prior to 0.6.0)

Discovery Timeline

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

Technical Details for CVE-2026-35361

Vulnerability Analysis

This vulnerability is classified under CWE-281 (Improper Preservation of Permissions). The core issue lies in a Time-of-Check Time-of-Use (TOCTOU) race condition combined with an improper cleanup mechanism. When mknod creates a device node, the creation happens in two non-atomic steps: first, the node is created with default security labels, and second, the SELinux context is applied. This window between creation and labeling creates a vulnerability where the device node exists without proper security context.

The problem is compounded by a bug in the error handling path. When SELinux labeling fails, the utility attempts to clean up by removing the created node using std::fs::remove_dir. However, this function is designed to remove directories, not device nodes or FIFOs. As a result, failed cleanup leaves behind device nodes with incorrect default SELinux contexts.

Root Cause

The root cause is twofold: (1) the non-atomic creation and labeling of device nodes, and (2) the use of an inappropriate cleanup function (std::fs::remove_dir instead of std::fs::remove_file or the unlink syscall equivalent). The improper cleanup function silently fails when attempting to remove device nodes, leaving mislabeled special files on the filesystem.

Attack Vector

This vulnerability requires local access and high privileges to exploit, as creating device nodes typically requires root or elevated capabilities. An attacker with sufficient privileges could potentially exploit this by:

  1. Triggering a scenario where SELinux context labeling fails during device node creation
  2. The resulting device node remains with a permissive default context
  3. The mislabeled device node may then be accessible by processes that should have been restricted by the intended SELinux policy

The attack is limited to local exploitation scenarios where the attacker can influence the SELinux labeling process or timing. The vulnerability primarily affects systems using SELinux in enforcing mode where mandatory access controls are actively restricting device access.

Detection Methods for CVE-2026-35361

Indicators of Compromise

  • Presence of device nodes or FIFOs with unexpected or default SELinux contexts in locations where restricted contexts should be applied
  • SELinux audit logs showing avc: denied messages followed by successful access to the same resources
  • Device nodes created by mknod that have the system default context rather than the expected target context

Detection Strategies

  • Audit SELinux contexts on all device nodes using ls -Z /dev/* and compare against expected security policies
  • Monitor for failed SELinux labeling operations in system logs (/var/log/audit/audit.log)
  • Implement file integrity monitoring on /dev and other locations where device nodes are created
  • Check uutils coreutils version to confirm whether the vulnerable version is installed

Monitoring Recommendations

  • Enable SELinux audit logging and configure alerts for context assignment failures during device node creation
  • Implement periodic scans to verify SELinux contexts on critical device nodes match security policy requirements
  • Monitor for unexpected device nodes that persist after mknod execution failures

How to Mitigate CVE-2026-35361

Immediate Actions Required

  • Upgrade uutils coreutils to version 0.6.0 or later, which contains the fix for this vulnerability
  • Audit existing device nodes for incorrect SELinux contexts and relabel as necessary using restorecon
  • Review any custom scripts or automation that use mknod from uutils coreutils to ensure proper error handling

Patch Information

The vulnerability has been addressed in uutils coreutils version 0.6.0. The fix ensures atomic handling of security labels during device node creation and uses the correct removal function for cleanup when labeling fails. For detailed information about the fix, see the GitHub Pull Request #10582 and the GitHub Release 0.6.0.

Workarounds

  • Use the GNU coreutils mknod implementation instead of uutils coreutils until the upgrade can be performed
  • Implement wrapper scripts that verify SELinux contexts after device node creation and perform manual cleanup if labeling fails
  • Consider temporarily using chcon or restorecon immediately after mknod operations to ensure correct labeling
  • For critical systems, audit device node creation operations and implement compensating controls to detect and remediate mislabeled nodes
bash
# Verify SELinux contexts on device nodes
ls -Z /dev/your_device_node

# Restore correct SELinux context if needed
restorecon -v /dev/your_device_node

# Check installed uutils coreutils version
mknod --version

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

  • SeverityLOW

  • CVSS Score3.4

  • EPSS Probability0.01%

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

  • GitHub Release 0.6.0
  • Related CVEs
  • CVE-2026-35350: 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