Alpine Linux and other musl systems: one very long password opens key-only SSH accounts. Update OpenSSH and restart sshd

By George Bailey   Published: 11/09/26   4 min read

OpenSSH shipped 10.6p2 on November 5 to close a login bypass that researchers named SSHole. On Linux systems built on musl libc without PAM, Alpine being the best known, an attacker who can reach the SSH port can log in to an account that has no password at all by sending a password between 257 and 1,024 characters long.

Get the CyberExperts Daily Brief: the day's top security news in 5 minutes. Free.

Alpine says it takes one connection and works every time. Fixed packages are out for every Alpine release back to 3.16, but upgrading the package does not replace the sshd that is already running.

On Alpine, a key-only account can accept a 300-character password. Run apk upgrade, then restart sshd, or the old daemon keeps listening.

One long password opens key-only SSH accounts

CVE-2026-123158 (CVSS 8.1) affects sshd before 10.6p2 on Linux when musl libc is used without PAM. When sshd checks a password for an account whose stored field is too short to hold a salt, it borrows another account’s salt. musl’s crypt() returns * as an error when the input is over 256 bytes, and * is exactly what a key-only account stores. The two match, and the login succeeds.

OpenSSH developer Damien Miller called the root cause outside sshd but exploitable through it, and said the team released fast because AI tools have been rediscovering bugs within hours. Researcher Özgün Kültekin of Wakefield reported it.

Alpine, OpenWrt and other musl systems with password login on

Key-only accounts are where admins put their trust: root on Alpine ships as root:*, and the official tiny-cloud images ship an alpine user with * and passwordless doas. One console password set later is enough to make those images exploitable, and a shell as alpine becomes root through doas.

Alpine runs a lot of small VMs, appliances and jump boxes, and some containers run sshd too. Researchers quoted by SecurityWeek expected SSH brute-forcers to add the one-connection check by the weekend, because each try costs a single connection.

Update openssh, then restart sshd

Forward this

For whoever runs our Linux servers and appliances: an OpenSSH bug on Alpine and other musl-based systems lets anyone who reaches SSH log in to key-only accounts with a very long password. Can we update openssh on every Alpine host that runs sshd and restart sshd today, or turn off password login where we cannot update yet?

Details

Hunt / verify

Source: Alpine advisory; OpenSSH 10.6p2 release notes

Sources

George Bailey

George Bailey is the byline of the CyberExperts editorial desk, the team behind the CyberExperts Daily Brief. The desk covers vulnerabilities, breaches and security news from vendor advisories, CISA alerts and other primary sources, and links those sources in every story. Questions or corrections: [email protected].