Vulnerability · Published May 20, 2026 · Assigned by suse
CVE-2026-41054Missing exit out of permission check in haveged could lead to root exploit
High 7.8
In plain English
A high-severity security flaw in Container suse/sle-micro-rancher/5.3:latest from SUSE. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | haveged | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
| Alpine:v3.21 | haveged | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
| Alpine:v3.22 | haveged | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
| Alpine:v3.23 | haveged | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
| Alpine:v3.24 | haveged | 1.9.21-r0 | ALPINE-CVE-2026-41054 |
| Debian:12 | haveged | 1.9.14-1+deb12u1 | DEBIAN-CVE-2026-41054 |
| Debian:13 | haveged | 1.9.19-12+deb13u1 | DEBIAN-CVE-2026-41054 |
| Debian:14 | haveged | 1.9.21-1 | DEBIAN-CVE-2026-41054 |
| Ubuntu:25.10 | haveged | 1.9.19-12+deb13u1build0.25.10.1 | USN-8358-1 |
| Ubuntu:25.10 | haveged | 1.9.19-12+deb13u1build0.25.10.1 | UBUNTU-CVE-2026-41054 |
| Ubuntu:26.04:LTS | haveged | 1.9.19-14ubuntu0.1 | UBUNTU-CVE-2026-41054 |
| Ubuntu:26.04:LTS | haveged | 1.9.19-14ubuntu0.1 | USN-8358-1 |
Affected products (as reported)
Weakness: CWE-305 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://bugzilla.suse.com/show_bug.cgi?id=CVE-2026-41054
- http://www.openwall.com/lists/oss-security/2026/05/19/3
- http://www.openwall.com/lists/oss-security/2026/05/19/4
- http://www.openwall.com/lists/oss-security/2026/05/19/5
- http://www.openwall.com/lists/oss-security/2026/05/20/1
- http://www.openwall.com/lists/oss-security/2026/05/21/17
- http://www.openwall.com/lists/oss-security/2026/05/22/1
- https://lists.debian.org/debian-lts-announce/2026/06/msg00005.html