CVE-2026-124738Busybox: httpd password rule bypass for pre-compressed .gz files via accept-encoding: gzip
A flaw was found in BusyBox. When the HTTP daemon (httpd) has pre-compressed file support enabled, authentication checks are evaluated only against the requested URL path rather than the pre-compressed file being served. A remote attacker can exploit this flaw by requesting an uncompressed file path while specifying gzip encoding, bypassing password rules configured specifically for the compressed file. This vulnerability can lead to unauthorized information disclosure of sensitive files.
What to do
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-124738 | |
| Ubuntu 26.04 | busybox | Under investigation | UBUNTU-CVE-2026-124738 | |
| Ubuntu 24.04 | busybox | Under investigation | UBUNTU-CVE-2026-124738 | |
| Ubuntu 22.04 | busybox | Under investigation | UBUNTU-CVE-2026-124738 | |
| Ubuntu 20.04 | busybox | Fix pending | UBUNTU-CVE-2026-124738 | |
| Ubuntu 18.04 | busybox | Fix pending | UBUNTU-CVE-2026-124738 | |
| Ubuntu 16.04 | busybox | Fix pending | UBUNTU-CVE-2026-124738 | |
| Ubuntu 14.04 | busybox | Fix pending | UBUNTU-CVE-2026-124738 | |
| Debian 14 | busybox | Fix pending | DEBIAN-CVE-2026-124738 | |
| Debian 13 | busybox | Fix pending | DEBIAN-CVE-2026-124738 | |
| Debian 12 | busybox | Fix pending | DEBIAN-CVE-2026-124738 |
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 Enterprise Linux 6
- Red Hat Hardened Images
Workaround: To mitigate this vulnerability without modifying binary features, apply one of the following configuration measures: 1. Configure directory-level authentication: In the BusyBox `httpd.conf` configuration file, define authentication rules covering the containing directory rather than individual file paths. Directory rules are evaluated against both the base request and served compressed variants. 2. Protect base filenames: When individual file protection is necessary, configure password rules for both the uncompressed filename and the `.gz` filename (for example, applying the directive to both `/secret.txt` and `/secret.txt.gz`). 3. Restrict service access: Restrict network reachability to the BusyBox httpd daemon using local firewall rules if remote access is not required. Warning: Applying changes to httpd.conf requires restarting or reloading the BusyBox httpd process, which will…
References
- https://access.redhat.com/security/cve/CVE-2026-124738
- https://bugzilla.redhat.com/show_bug.cgi?id=2571610
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.