CVE Vulnerabilities

CVE-2026-41054

Authentication Bypass by Primary Weakness

Published: May 20, 2026 | Modified: Jul 24, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

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.

Affected Software

NameVendorStart VersionEnd Version
HavegedUbuntuesm-apps/jammy*
HavegedUbuntuesm-apps/noble*
HavegedUbuntuesm-apps/resolute*
HavegedUbuntujammy*
HavegedUbuntunoble*
HavegedUbuntuquesting*
HavegedUbunturesolute*
HavegedUbuntuupstream*

References