CVE-2026-26158Busybox: busybox: arbitrary file modification and privilege escalation via unvalidated…
A flaw was found in BusyBox. This vulnerability allows an attacker to modify files outside of the intended extraction directory by crafting a malicious tar archive containing unvalidated hardlink or symlink entries. If the tar archive is extracted with elevated privileges, this flaw can lead to privilege escalation, enabling an attacker to gain unauthorized access to critical system files.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | busybox | Fix pending | UBUNTU-CVE-2026-26158 | |
| Ubuntu 26.04 | busybox | Under investigation | UBUNTU-CVE-2026-26158 | |
| Ubuntu 25.10 | busybox | Will not fix same commit as CVE-2026-26157 | UBUNTU-CVE-2026-26158 | |
| Ubuntu 24.04 | busybox | Under investigation | UBUNTU-CVE-2026-26158 | |
| Ubuntu 22.04 | busybox | Under investigation | UBUNTU-CVE-2026-26158 | |
| Ubuntu 20.04 | busybox | Fix pending | UBUNTU-CVE-2026-26158 | |
| Ubuntu 18.04 | busybox | Fix pending | UBUNTU-CVE-2026-26158 | |
| Ubuntu 16.04 | busybox | Fix pending | UBUNTU-CVE-2026-26158 | |
| Ubuntu 14.04 | busybox | Fix pending | UBUNTU-CVE-2026-26158 | |
| Debian 14 | busybox | Fixed | 1:1.37.0-10.1 | DEBIAN-CVE-2026-26158 |
| Debian 13 | busybox | Fix pending | DEBIAN-CVE-2026-26158 | |
| Debian 12 | busybox | Fix pending | DEBIAN-CVE-2026-26158 | |
| Red Hat Enterprise Linux 6 | busybox | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | busybox-petitboot | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Hardened Images
- Red Hat Enterprise Linux 6
Workaround: As a prevention measure, avoid extracting tar archives from untrusted sources using BusyBox, especially when operating with elevated privileges. If processing untrusted archives is unavoidable, ensure that the extraction process is performed within a strictly sandboxed environment with minimal permissions. This operational control reduces the risk of arbitrary file modification and privilege escalation.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:13831 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:13831
- https://access.redhat.com/security/cve/CVE-2026-26158
- https://bugzilla.redhat.com/show_bug.cgi?id=2439040
- https://git.busybox.net/busybox/commit/archival?id=3fb6b31c716669e12f75a2accd31bb7685b1a1cb
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.