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

by | Nov 25, 2026 | Technology

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

A security vulnerability affecting Alpine Linux and potentially other distributions has been identified that enables unauthorized remote access through SSH. The flaw exists in the interaction between OpenSSH and musl, a lightweight alternative C library used by Alpine, particularly when the system is not configured to use PAM (pluggable authentication modules) for authentication.

Successful exploitation requires specific conditions to be present on the target system. The device must have at least one user account with a password hashed using SHA256 or SHA512, and the target account must be configured as passwordless by specifying an asterisk in the /etc/shadow file. When these prerequisites are met, an attacker can gain access by entering more than 256 characters in the password field during an SSH login attempt to a passwordless account. According to Alpine maintainers, the attack succeeds on the first attempt and requires no retries.

Alpine Linux is widely deployed across numerous device types and platforms. The Docker Hub base image for Alpine has accumulated over 1 billion downloads, and the distribution is commonly used in routers, smart televisions, industrial controllers, and embedded systems that may be difficult or impossible to update. Alpine has also seen increased adoption in container images, desktops, and servers. Security research indicates approximately 22 million systems have SSH accessible on port 22, though only a fraction meet the specific conditions necessary for exploitation.

Responsibility for the vulnerability remains disputed among the parties involved. OpenSSH released an update but stated the root cause lies outside sshd itself. Musl developers maintain the issue stems from incorrect usage by callers and have indicated plans to modify the mechanism in an upcoming release. Alpine has also released patches. Organizations using systems with both musl and OpenSSH are advised to immediately assess their vulnerability status and apply available patches from both Alpine and OpenSSH. The vulnerability has not yet been assigned a CVE designation, and the full scope of affected packages remains unclear.

Article Attribution | Read More at Article Source

Article summary produced by Claude AI