CVE-2026-41054 HIGH

CVE-2026-41054: Missing exit out of permission check in haveged could lead to root exploit

Vendor Suse
Product Container suse/sle-micro-rancher/5.3:latest
Weakness CWE-305
Published May 20, 2026
Last update June 5, 2026

CVSS base score

7.8/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

May 20, 2026 CVE published
June 5, 2026 Record updated