CVE-2026-26157Busybox: busybox: arbitrary file overwrite and potential code execution via incomplete…
A flaw was found in BusyBox. Incomplete path sanitization in its archive extraction utilities allows an attacker to craft malicious archives that when extracted, and under specific conditions, may write to files outside the intended directory. This can lead to arbitrary file overwrite, potentially enabling code execution through the modification of sensitive 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-26157 | |
| Ubuntu 26.04 | busybox | Under investigation | UBUNTU-CVE-2026-26157 | |
| Ubuntu 25.10 | busybox | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-26157 | |
| Ubuntu 24.04 | busybox | Under investigation | UBUNTU-CVE-2026-26157 | |
| Ubuntu 22.04 | busybox | Under investigation | UBUNTU-CVE-2026-26157 | |
| Ubuntu 20.04 | busybox | Fix pending | UBUNTU-CVE-2026-26157 | |
| Ubuntu 18.04 | busybox | Fix pending | UBUNTU-CVE-2026-26157 | |
| Ubuntu 16.04 | busybox | Fix pending | UBUNTU-CVE-2026-26157 | |
| Ubuntu 14.04 | busybox | Fix pending | UBUNTU-CVE-2026-26157 | |
| Debian 14 | busybox | Fixed | 1:1.37.0-10.1 | DEBIAN-CVE-2026-26157 |
| Debian 13 | busybox | Fix pending | DEBIAN-CVE-2026-26157 | |
| Debian 12 | busybox | Fix pending | DEBIAN-CVE-2026-26157 | |
| 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 archives from untrusted sources using BusyBox utilities. If extraction of untrusted archives is necessary, perform it within a highly isolated and restricted environment, such as a container with a read-only root filesystem and minimal privileges, to limit the potential impact of arbitrary file overwrites.
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-26157
- https://bugzilla.redhat.com/show_bug.cgi?id=2439039
- 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.