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

by | Nov 16, 2026 | Technology

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

Security researchers have identified a vulnerability that affects certain configurations of Alpine Linux and potentially other Linux distributions. The flaw exists in the interaction between OpenSSH, which implements SSH connections, and musl, a lightweight alternative to the standard libc library used by Alpine. The vulnerability requires that OpenSSH operates without PAM (pluggable authentication modules), a framework that typically handles user authentication.

Successful exploitation depends on multiple conditions being present simultaneously. A system must have at least one user account with a password hashed using SHA256 or SHA512 functions, and that account must be configured as passwordless by specifying an asterisk in the password field within the system’s shadow file. Passwordless accounts are commonly used for systems relying on certificate-based authentication. When all conditions align, attackers can gain unauthorized access by entering more than 256 characters in the password field during login attempts.

Alpine maintainers disclosed the issue Thursday, noting that compromised access requires only a single connection and works consistently without requiring multiple attempts. While root accounts are protected under default settings that prohibit password-based root logins, accounts with elevated privileges through doas or sudo remain vulnerable. Security researchers from Checkpoint noted that the specific use of SHA256 or SHA512 functions is critical to the attack’s success, as the system borrows the account’s cryptographic salt during the login process.

The vulnerability poses a significant threat given Alpine’s widespread adoption across numerous platforms. Alpine’s Docker Hub base image has accumulated over 1 billion downloads, and the distribution is commonly deployed in routers, smart televisions, industrial controllers, and embedded devices that often cannot be easily updated. Shodan data indicates approximately 22 million systems have SSH accessible on port 22, though only a fraction meet the specific conditions required for exploitation. Despite this limitation, the ease of testing makes identifying vulnerable devices relatively straightforward for potential attackers.

Both Alpine and OpenSSH have released patches addressing the issue. However, uncertainty remains regarding which other packages may be affected, with potential vulnerabilities identified in OpenWRT, buildroot, and yocto packages, though this remains unconfirmed. No CVE designation has been assigned to the vulnerability thus far. System administrators are advised to immediately investigate whether their systems are affected and apply available patches from both Alpine and OpenSSH.

Article Attribution | Read More at Article Source

Article summary produced by Claude AI