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.
Advisories

No advisories yet.

Fixes

Solution

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.


Workaround

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.

History

Tue, 01 Dec 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Alpine Linux busybox-extras-openrc 1.38.0-r8 - httpd exposes root files
First Time appeared Alpine Linux
Alpine Linux busybox-extras-openrc
Weaknesses CWE-552
CPEs cpe:2.3:a:alpine_linux:busybox-extras-openrc:1.38.0-r8:*:64_bit:*:*:*:*:*
cpe:2.3:a:alpine_linux:busybox-extras-openrc:1.38.0-r8:*:linux:*:*:*:*:*
cpe:2.3:a:alpine_linux:busybox-extras-openrc:1.38.0-r8:*:x86:*:*:*:*:*
cpe:2.3:a:alpine_linux:busybox-extras-openrc:1.38.0-r9:*:64_bit:*:*:*:*:*
cpe:2.3:a:alpine_linux:busybox-extras-openrc:1.38.0-r9:*:linux:*:*:*:*:*
cpe:2.3:a:alpine_linux:busybox-extras-openrc:1.38.0-r9:*:x86:*:*:*:*:*
Vendors & Products Alpine Linux
Alpine Linux busybox-extras-openrc
References
Metrics cvssV4_0

{'score': 8.7, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Fluid Attacks

Published:

Updated: 2026-12-01T17:55:05.616Z

Reserved: 2026-11-30T19:18:47.194Z

Link: CVE-2026-140044

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-01T18:17:26.577

Modified: 2026-12-01T18:17:26.577

Link: CVE-2026-140044

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses