CVE-2026-41054
HIGH7.8EPSS 0.00%Published: 5/20/2026Modified: 5/22/2026
Also known as:ALPINE-CVE-2026-41054DEBIAN-CVE-2026-41054
Description
In `src/havegecmd.c`, the `socket_handler` function performs a credential check on the abstract UNIX socket (`\0/sys/entropy/haveged`). However, while it detects if the connecting user is not root (`cred.uid != 0`) and prepares a negative acknowledgement (`ASCII_NAK`), it **fails to stop execution**. The code proceeds to the `switch` statement, allowing any local unprivileged user to execute privileged commands such as `MAGIC_CHROOT`.
Affected packages (2)
- Alpine/havegedfrom 0, < 1.9.21-r0
- Debian/havegedfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |