CVE-2026-41054CWE-305

Missing exit out of permission check in haveged could lead to root exploit

High · published May 20, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
7.7
In the wild
Unconfirmed
What it is

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`.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00185 · 7.7th percentile
Weakness
CWE-305 · Authentication Bypass by Primary Weakness
Published
2026-05-20T08:56Z
EPSS history
Timeline
  • 20 MAY 08:56Z
    Missing exit out of permission check in haveged could lead to root exploit
    cvelistv5