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

CVE-2026-26158: BusyBox Privilege Escalation Vulnerability

CVE-2026-26158 is a privilege escalation flaw in BusyBox that allows attackers to modify critical files via malicious tar archives with unvalidated symlinks. This article covers technical details, impact, and mitigations.

Updated: May 14, 2026

CVE-2026-26158 Overview

CVE-2026-26158 is a path traversal vulnerability [CWE-73] in BusyBox affecting the tar archive extraction routine. The flaw allows an attacker to craft a malicious tar archive containing unvalidated hardlink or symlink entries. When the archive is extracted, BusyBox follows the link targets and writes files outside the intended extraction directory. If extraction runs with elevated privileges, the attacker can overwrite critical system files and escalate privileges. BusyBox is widely deployed in embedded Linux systems, container base images, and minimal Linux distributions, which broadens the exposure surface.

Critical Impact

Local attackers can overwrite arbitrary files outside the extraction directory by tricking a privileged user or process into extracting a crafted tar archive, enabling privilege escalation.

Affected Products

  • BusyBox tar applet (archival component)
  • Red Hat Enterprise Linux distributions referenced in RHSA-2026:13831
  • Embedded Linux systems and container images bundling vulnerable BusyBox builds

Discovery Timeline

  • 2026-02-11 - CVE-2026-26158 published to NVD
  • 2026-05-05 - Last updated in NVD database

Technical Details for CVE-2026-26158

Vulnerability Analysis

The vulnerability resides in the BusyBox archival code that handles tar extraction. BusyBox processes hardlink and symlink entries without validating that the link target stays within the destination directory. An archive can declare a symlink that points to an absolute path such as /etc or to a relative path traversing parent directories. When subsequent archive members reference that link name, file writes follow the link and land outside the extraction root. The flaw is classified as External Control of File Name or Path [CWE-73].

Exploitation requires user interaction, specifically extraction of the attacker-controlled archive, and local access to the system. When the extracting process holds elevated privileges, such as root during package installation, firmware unpacking, or initramfs construction, the attacker gains write access to sensitive files including /etc/passwd, /etc/shadow, /etc/sudoers, or systemd unit files.

Root Cause

BusyBox tar did not canonicalize and validate link targets against the extraction directory before creating filesystem entries. The fix is tracked in the upstream commit 3fb6b31c716669e12f75a2accd31bb7685b1a1cb, which adds checks to reject archive entries whose hardlink or symlink targets escape the extraction root.

Attack Vector

The attacker crafts a tar archive containing a symlink entry such as link -> /etc followed by a regular file entry link/shadow with attacker-controlled contents. When a privileged process extracts the archive with BusyBox tar, BusyBox follows the symlink during the second entry's creation and writes the file to /etc/shadow. Hardlink entries enable a similar primitive against existing system files. The full chain leads from arbitrary file write to local privilege escalation.

Refer to the Red Hat CVE record for CVE-2026-26158 and Red Hat Bugzilla #2439040 for vendor analysis.

Detection Methods for CVE-2026-26158

Indicators of Compromise

  • Tar archives containing symlink or hardlink entries whose targets begin with / or contain ../ sequences
  • Unexpected modifications to sensitive files such as /etc/passwd, /etc/shadow, /etc/sudoers, /root/.ssh/authorized_keys, or systemd unit files following a busybox tar extraction
  • New SUID binaries or world-writable files created in system directories after archive extraction

Detection Strategies

  • Inspect tar archives prior to extraction using tar -tvf and flag any entries with absolute paths or parent-directory traversal in link targets
  • Audit process execution logs for invocations of busybox tar -x or tar -x executed by privileged accounts on untrusted archives
  • Compare file integrity baselines for critical system paths against post-extraction state to identify unexpected writes

Monitoring Recommendations

  • Enable Linux audit rules on /etc, /usr/bin, /usr/sbin, and /lib/systemd for write and create events correlated to busybox process ancestry
  • Forward filesystem and process telemetry to a centralized analytics platform for cross-host correlation of archive-extraction behavior
  • Alert on extractions performed as uid=0 against archives sourced from external networks, removable media, or non-trusted repositories

How to Mitigate CVE-2026-26158

Immediate Actions Required

  • Apply vendor-supplied BusyBox updates from the Red Hat advisory RHSA-2026:13831 or your distribution's equivalent
  • Rebuild container images and firmware artifacts that bundle BusyBox to incorporate the patched binary
  • Avoid extracting untrusted tar archives as root; use a dedicated unprivileged service account when possible

Patch Information

The upstream fix is committed to BusyBox in archival commit 3fb6b31. Red Hat ships fixed packages through RHSA-2026:13831. Confirm the deployed BusyBox build includes the commit by checking the package version against the advisory.

Workarounds

  • Extract untrusted archives inside a chroot, container, or user namespace with no access to host system paths
  • Pre-scan tar archives and reject any containing symlink or hardlink entries with absolute or traversal targets before invoking extraction
  • Drop privileges before extraction by switching to a non-root user with setpriv or su when handling externally sourced archives
bash
# Inspect a tar archive for unsafe link entries before extracting
tar -tvf untrusted.tar | awk '$1 ~ /^l/ {print}' | \
  grep -E '-> (/|.*\.\./)' && echo "UNSAFE: archive contains traversal links"

# Extract with a non-privileged user inside an isolated directory
install -d -m 700 -o nobody -g nobody /var/tmp/extract
setpriv --reuid=nobody --regid=nobody --clear-groups \
  tar -xf untrusted.tar -C /var/tmp/extract

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechBusybox

  • SeverityHIGH

  • CVSS Score7.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-73
  • Technical References
  • Red Hat Security Advisory RHSA-2026:13831

  • Red Hat CVE Details CVE-2026-26158

  • Red Hat Bugzilla Report #2439040

  • BusyBox Commit Details #3fb6b31
  • Related CVEs
  • CVE-2026-29126: IDC SFX2100 Privilege Escalation Flaw

  • CVE-2026-29004: BusyBox DHCPv6 Buffer Overflow Vulnerability

  • CVE-2026-26157: BusyBox Path Traversal Vulnerability

  • CVE-2021-28831: BusyBox Buffer Overflow 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