CVE-2026-108119

Busybox: busybox: tar extraction-root escape via deferred symlink/hardlink creation bypasses cve-2026-26158 fix

Published Oct 9, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in busybox. The tar applet's deferred link-creation handling for symlink and hardlink entries with unsafe-looking targets does not validate that the resolved destination remains inside the extraction directory once the deferred link is created. An attacker can craft a tar archive using a symlink target of exactly '..' combined with a deferred hardlink to create a new file outside the extraction directory, or reuse an extraction directory across two archives to replace an existing file outside it. If the archive is extracted with elevated privileges, this flaw can lead to privilege escalation or arbitrary code execution.

Analysis

AI-generated

Technical impact

The bug resides in busybox's tar applet where deferred link-creation for symlink and hardlink entries does not verify that the resolved final path remains within the target extraction directory once the link is created. Attackers can craft a tar archive using a symlink pointing to ".." together with a deferred hardlink to create or replace a file outside the extraction directory. The flaw can lead to privilege escalation or arbitrary code execution when the archive is extracted with elevated privileges. The weakness corresponds to CWE-59, unsafe relocation of file system objects.

Affected Systems

The issue is present in BusyBox shipped with Red Hat Enterprise Linux 6 and Red Hat Hardened Images. No specific BusyBox version numbers are supplied, so any installation of BusyBox on those platforms that has not been updated beyond the current baseline is potentially vulnerable.

Risk and Exploitability

The CVSS score is 6.3, indicating moderate impact. No EPSS data is available and the vulnerability is not currently catalogued in CISA KEV. Exploitation requires the attacker to supply a crafted tar archive and perform the extraction process with elevated privileges. Thus the attack vector is local: an administrator or automated process that extracts untrusted archives using BusyBox with root or privileged access can trigger the flaw. Because the exploit depends on privilege level, the risk is significant for privileged or escalated contexts but absent for unprivileged users. Even without privileges, the flaw can still violate directory isolation, potentially leading to data leakage between extraction jobs.

Remediation

Vendor Workaround

Avoid extracting tar archives from untrusted sources using busybox, especially with elevated privileges or into a directory that will be reused for a subsequent extraction. If untrusted archives must be processed, extract into a freshly created, isolated directory with minimal privileges on a single filesystem boundary and discard it (including any links left on disk) after each extraction.


OpenCVE Recommended Actions

  • Avoid extracting untrusted tar archives with BusyBox when running with elevated privileges; run extraction under a non‑privileged user instead.
  • Extract archives into a freshly created, isolated directory that is not reused for subsequent extraction operations; ensure the directory resides on a single filesystem with minimal permissions.
  • After each extraction, delete the isolated directory and any created links so that no residual links remain on disk.

Generated by OpenCVE AI on October 9, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6 cpe:/o:redhat:rhel_els:6
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Busybox
Busybox busybox
Redhat hardened Images
Vendors & Products Busybox
Busybox busybox
Redhat hardened Images
Type Values Removed Values Added
Description A flaw was found in busybox. The tar applet's deferred link-creation handling for symlink and hardlink entries with unsafe-looking targets does not validate that the resolved destination remains inside the extraction directory once the deferred link is created. An attacker can craft a tar archive using a symlink target of exactly '..' combined with a deferred hardlink to create a new file outside the extraction directory, or reuse an extraction directory across two archives to replace an existing file outside it. If the archive is extracted with elevated privileges, this flaw can lead to privilege escalation or arbitrary code execution.
Title Busybox: busybox: tar extraction-root escape via deferred symlink/hardlink creation bypasses cve-2026-26158 fix
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-59
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:6
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H'}

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 3:56 PM
Reserved
Oct 9, 2026, 2:09 PM
Status
Awaiting Analysis
Published
Oct 9, 2026, 5:16 PM
Modified
Nov 5, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 9, 2026, 3:31 PM