CVE-2026-41054
Awaiting Analysis
Awaiting Analysis - Queue
Privilege Escalation in Haveged Daemon via UNIX Socket
Publication date: 2026-05-20
Last updated on: 2026-06-05
Assigner: SUSE
Description
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`.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| haveged | haveged | 1.9.21 |
| haveged | haveged | From 1.9.14 (inc) to 1.9.21 (exc) |
| haveged | haveged | 1.9.3 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-305 | The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. |