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.
Published: 2026-10-09
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Privilege escalation or arbitrary code execution through unsafe tar extraction
Action: Apply Workaround
AI Analysis

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.

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

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 yet.

History

Tue, 13 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 12 Oct 2026 21:15:00 +0000

Type Values Removed Values Added
References

Sun, 11 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Busybox
Busybox busybox
Redhat hardened Images
Vendors & Products Busybox
Busybox busybox
Redhat hardened Images

Sat, 10 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 09 Oct 2026 17:00:00 +0000

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'}


Subscriptions

Busybox Busybox
Redhat Enterprise Linux Hardened Images Hummingbird
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-10-13T16:59:20.957Z

Reserved: 2026-10-09T14:09:13.658Z

Link: CVE-2026-108119

cve-icon Vulnrichment

Updated: 2026-10-13T16:59:15.646Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-09T17:16:46.400

Modified: 2026-10-13T17:17:19.397

Link: CVE-2026-108119

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-09T15:31:42Z

Links: CVE-2026-108119 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T12:26:07Z

Weaknesses
  • CWE-59

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