CVE-2026-41054 Missing exit out of permission check in haveged could lead to root exploit
Local unprivileged users can execute privileged commands due to a missing exit in the haveged daemon's permission check, leading to root privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-41054?
CVE-2026-41054 is a high-severity authentication bypass vulnerability in Container suse/sle-micro-rancher/5.3:latest, published on 20 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
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`.
Weakness: CWE-305
Which versions are affected by CVE-2026-41054?
Linux distribution packages (2)
haveged openSUSE:Leap 16.0 | All versions | 1.9.19-bp160.2.1 |
haveged openSUSE:Tumbleweed | All versions | 1.9.21-1.1 |
How do I fix CVE-2026-41054?
Apply the vendor's patch.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-41054 being exploited?
There is no known exploitation of CVE-2026-41054 in the wild and no public exploit code.
Sources
Also known as ALPINE-CVE-2026-41054, AZL-87113, BELL-CVE-2026-41054, DEBIAN-CVE-2026-41054, GHSA-c5g3-m8p9-m3gh, MGASA-2026-0275 and 6 more.