Skip to content
Safety · Nov 6, 2026

Vulnerability in Alpine Linux and OpenSSH allows passwordless SSH logins

A decade-old interaction flaw between OpenSSH and musl libc enables attackers to log into affected Linux systems without a password under specific configurations.

Trust79
HypeLow hype

1 source · cross-referenced

ShareXLinkedInEmail
TL;DR
  • A vulnerability named *sshole allows passwordless SSH logins on Linux systems running Alpine or other distros with specific OpenSSH and musl libc configurations.
  • Exploitation requires a password-hashed user account, a passwordless account setting, and OpenSSH using musl libc without PAM.
  • OpenSSH and Alpine have issued updates; root accounts are not vulnerable by default, but other privileged accounts may be.

A vulnerability dubbed *sshole allows attackers to log into Linux devices without a password when specific configurations of Alpine Linux—or potentially other distributions—are in use. The flaw stems from an interaction issue between OpenSSH, the widely used SSH implementation, and musl libc, a lightweight alternative to the standard libc library. Unlike most Linux distributions, Alpine uses musl libc, which, when paired with OpenSSH not using PAM (pluggable authentication modules), creates the vulnerability.

Exploitation requires three conditions: the system must have at least one user account with a password hash using SHA256 or SHA512, the target account must be configured as passwordless (indicated by a “*” in the /etc/shadow file), and OpenSSH must be using musl libc without PAM. When all conditions are met, an attacker can gain access by submitting more than 256 characters in the password field during an SSH login attempt. Security researchers noted that the use of SHA256 or SHA512 is critical because the SSH daemon (sshd) borrows the account’s salt; without it, the attack fails.

Alpine maintainers and OpenSSH issued updates addressing the issue on the same day it was disclosed. OpenSSH described the root cause as outside sshd but exploitable via sshd, while musl libc developer Rich Felker stated the issue arises from erroneous use by the caller and noted plans to address the mechanism in a future release. Alpine also released a patch, though it is not yet confirmed whether other packages are affected.

The discoverer of the vulnerability reported that OpenWRT, buildroot, and yocto may also be affected, but this has not been confirmed. OpenWRT, by default, uses the Dropbear SSH package, though OpenSSH can be installed separately. The potential impact is significant given Alpine’s widespread use in embedded devices, routers, smart TVs, industrial controllers, and container images. The Docker Hub base image for Alpine has over 1 billion downloads, and Shodan lists around 22 million systems with SSH open on port 22, though only a fraction are expected to meet the exploitation conditions.

Root accounts are not vulnerable under the default OpenSSH setting 'PermitRootLogin prohibit-password,' but accounts with doas or sudo rights could still be exploited to escalate privileges. Security firms recommend immediately checking systems for affected configurations and applying the provided patches from Alpine and OpenSSH.

Sources
  1. 01Ars Technica — Technology Lab — Meet *sshole, the vulnerability that lets hackers SSH into Linux devices
Also on Safety

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.