CVE-2026-41054: Missing exit out of permission check in haveged could lead to root exploit
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-41054?
CVE-2026-41054 has a high severity rating of 7.8.
What is the main issue with CVE-2026-41054?
CVE-2026-41054 involves a missing exit out of a permission check in haveged, which could potentially lead to a root exploit.
How do I fix CVE-2026-41054?
To fix CVE-2026-41054, update to the latest version of haveged that includes the necessary patches.
What systems are affected by CVE-2026-41054?
CVE-2026-41054 affects systems running the haveged software.
Can CVE-2026-41054 be exploited remotely?
Yes, CVE-2026-41054 can potentially be exploited remotely due to the permission check vulnerability in an abstract UNIX socket.