What’s Vulnerable › Vulnerabilities

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

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

Affected products

How to fix

Upgrade to a fixed version: SUSE Container suse/sle-micro-rancher/5.3:latest 1.9.14-150400.3.11.1; SUSE Container suse/sle-micro-rancher/5.4:latest 1.9.14-150400.3.11.1; SUSE Container suse/sle-micro/5.5:latest 1.9.14-150400.3.11.1; SUSE Image SLES15-SP4-SAP-BYOS 1.9.14-150400.3.11.1; SUSE Image SLES15-SP4-SAP-BYOS-Azure 1.9.14-150400.3.11.1; SUSE Image SLES15-SP4-SAP-BYOS-EC2 1.9.14-150400.3.11.1; SUSE Image SLES15-SP4-SAP-BYOS-GCE 1.9.14-150400.3.11.1; SUSE Image SLES15-SP4-SAP-Hardened 1.9.14-150400.3.11.1; SUSE Image SLES15-SP4-SAP-Hardened-BYOS 1.9.14-150400.3.11.1; SUSE Image SLES15-SP4-SAP-Hardened-BYOS-Azure 1.9.14-150400.3.11.1; SUSE Image SLES15-SP4-SAP-Hardened-BYOS-EC2 1.9.14-150400.3.11.1; SUSE Image SLES15-SP4-SAP-Hardened-BYOS-GCE 1.9.14-150400.3.11.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-41054 or the next vulnerability affects your stack