CVE-2026-140044 PUBLISHED

Alpine Linux busybox-extras-openrc 1.38.0-r8 - httpd exposes root files

Assigner: Fluid Attacks
Reserved: 30.11.2026 Published: 01.12.2026 Updated: 01.12.2026

Alpine Linux busybox-extras-openrc 1.38.0-r8 starts BusyBox httpd without an explicit document root or reduced-privilege user when HTTPD_OPTS is unset. In the validated standard OpenRC boot path, the service runs as UID/GID 0 with / as its working directory and listens on port 80. Because BusyBox uses its current directory as the default HTTP home, an unauthenticated network client can retrieve URL-addressable files and special filesystem objects that the root process can open.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor Alpine Linux
Product busybox-extras-openrc
Versions Default: unaffected
  • Version 1.38.0-r8 is affected
  • Version 1.38.0-r9 is unaffected

Workarounds

Create a dedicated web root, set HTTPD_OPTS="-h /var/www/localhost/htdocs" in /etc/conf.d/httpd, restart the service, restrict TCP port 80 to intended clients, and verify the running process command line and working directory.

Solutions

Upgrade busybox-extras-openrc to version 1.38.0-r9 or later. The fixed service uses /var/www/localhost/htdocs as its default document root, drops privileges to nobody, and fails to start if the selected document root does not exist.

Credits

  • Lautaro Casanova finder

References

Problem Types

  • CWE-552 Files or directories accessible to external parties CWE

Impacts

  • CAPEC-150 Collect Data from Common Resource Locations