Anyone who can reach port 22 on an Alpine Linux machine can log in to an account that has no password by typing more than 256 characters into the password prompt. The flaw sits in the handoff between OpenSSH and the musl libc on systems that do not use PAM. Ars Technica reported the bug on 5 November 2026.
That login should be impossible. An account with no password stores a single asterisk in /etc/shadow, and that field matches no string anyone can type, so keys or certificates are the only way in. The bug makes the asterisk match itself.
The exploit needs no credentials and no guessing. As Alpine Linux put it in its security advisory the same day: “It takes one connection, works every time, and needs no retries.” The attack sends between 257 and 1024 bytes as the password. No CVE number had been assigned when the advisory went out.
A stack of conditions, not a magic hole
The bug is a chain of ordinary mistakes, not one exotic defect. Several things have to line up:
- OpenSSH on musl libc instead of glibc
- password authentication left switched on
- no PAM in the login path
- a target account whose /etc/shadow field holds a single asterisk, meaning no password is set, the usual setup for certificate logins
- any account on the machine with a SHA-256 or SHA-512 hash, because sshd borrows its salt from that account
Alpine’s maintainers state the last condition bluntly: one account with a password makes every account without one reachable. The root account ships as root:* in the base image and carries the asterisk too, but the default PermitRootLogin prohibit-password keeps root out of reach.
The trigger is small. musl’s crypt() returns the “*” string as its error value once the input runs past 256 bytes, and OpenSSH compares that value with the stored password field. Both are a single asterisk, so the login goes through. A field that is empty instead of an asterisk is a different case: sshd accepts a blank password only when PermitEmptyPasswords is switched on, and it is off by default. musl developer Rich Felker argues that this is not a musl bug but a caller that misuses the interface, Ars Technica reported.
The cloud images were the sharpest case
Alpine’s official tiny-cloud images, the qcow2, VHD and AMI files, ship an alpine user with no password and passwordless doas rights, in releases 3.18.11 through 3.24.3. A fresh image is harmless. Once a password hash appears anywhere on the machine, for example when an admin sets a console password, every account without one turns reachable, and a login as alpine sits one doas call from root.
Many hosts sit outside the blast radius: containers that never run sshd, machines that switched password logins off, systems on the openssh-server-pam package with UsePAM yes, locked accounts, and cloud instances built by cloud-init, which writes PasswordAuthentication no on its own.
Wide reach, narrow conditions
Alpine’s image on Docker Hub has passed one billion downloads, and the distribution runs in routers, smart TVs, industrial controllers and containers that are often hard to update. Detectify counted around 22 million systems with an open SSH port on Shodan, an upper bound whose vulnerable share is unknown. Most installs never face the open internet, yet an attacker inside a corporate network, a home lab or a VPN can walk in through any valid account.
Buildroot, Yocto and Void Linux are also in scope, and the author names OpenWRT, although OpenWRT ships Dropbear by default. The exploit code goes by the name sshhole and has its own website.
Patch now and restart the daemon
Fixes landed in a hurry on Thursday. OpenSSH 10.6p2 closes the door from the sshd side, and Alpine shipped packages for 3.16 through 3.24 and edge, including 3.21.10, 3.22.8, 3.23.8 and 3.24.4. Release 3.21 lost its support window on 1 November and still got a fix.
The upgrade alone is not enough, because a running sshd keeps the old code in memory. Alpine’s advisory opens with two commands: apk upgrade -U -a, then rc-service sshd restart. Hosts that cannot patch yet should set PasswordAuthentication no and restart the service. Logins with keys keep working and the vulnerable path disappears.
The release notes are firm about responsibility: “We consider the root cause of this bug to be outside sshd, but it is exploitable via sshd and can be avoided there.” The flaw was reported by Özgün Kültekin of the security firm Wakefield.
To check whether anyone already used the door, look in /var/log/messages for lines reading Accepted password for beside an account that has no password, then review doas use, new users and authorized keys. Alpine’s advice if a login cannot be ruled out is short: treat the machine as compromised.



