CVE-2026-124738 PUBLISHED

Busybox: httpd password rule bypass for pre-compressed .gz files via accept-encoding: gzip

Assigner: redhat
Reserved: 09.11.2026 Published: 11.11.2026 Updated: 12.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS Score: 5.3

Product Status

Vendor Red Hat
Product Red Hat Enterprise Linux 6
Versions Default: unaffected
Vendor Red Hat
Product Red Hat Hardened Images
Versions Default: affected

Workarounds

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 temporarily terminate active network sessions.

Credits

  • Red Hat would like to thank Duc Anh Luu for reporting this issue.

References

Problem Types

  • Authentication Bypass Using an Alternate Path or Channel CWE