Meet *sshole, the vulnerability that lets hackers SSH into Linux devices

by | Nov 30, 2026 | Technology

Meet *sshole, the vulnerability that lets hackers SSH into Linux devices

A vulnerability tracked as *sshole has been identified in certain configurations of Alpine Linux and potentially other distributions that use OpenSSH with musl libc. The flaw enables unauthorized remote access to affected systems through SSH without requiring authentication credentials.

The vulnerability exists at the intersection of OpenSSH, musl, and the absence of PAM authentication modules. For successful exploitation, several conditions must be met: the target system must have at least one user account with a password hashed using SHA256 or SHA512, that account must be configured as passwordless through a “*” designation in the shadow password file, and the account must be active. When these prerequisites are satisfied, an attacker can gain access by entering more than 256 characters in the password field during an SSH login attempt to a passwordless account.

Alpine Linux is a lightweight distribution widely used in containerized environments, embedded systems, routers, smart TVs, and industrial controllers. The Docker Hub base image for Alpine has accumulated more than 1 billion downloads. Security researchers estimate that approximately 22 million systems have SSH accessible on port 22, though only a fraction meet the specific conditions needed for the attack to succeed. Despite the technical prerequisites, the vulnerability poses a significant threat due to the ease and speed with which attackers can identify vulnerable systems.

Responsibility for the vulnerability remains somewhat disputed among developers. OpenSSH released a patch and stated the root cause lies outside sshd itself, while musl’s developer contended it represents erroneous usage by the caller rather than a bug in musl. Alpine has also issued updates addressing the issue. The discoverer indicated that other packages including OpenWRT, buildroot, and yocto may be affected, though confirmation is pending.

Systems administrators using Alpine Linux or other distributions combining musl and OpenSSH are advised to immediately assess whether their systems meet the vulnerability conditions and apply available patches from both Alpine and OpenSSH. No CVE designation has been assigned to the vulnerability thus far.

Article Attribution | Read More at Article Source

Article summary produced by Claude AI