OpenSSH has rolled out emergency patches for a high-severity authentication bypass that allows attackers to log in using very long passwords.
Dubbed SSHole and tracked as CVE-2026-123158 (CVSS score of 8.1), the security defect affects the OpenSSH server (sshd) on Linux distributions that use the musl libc implementation with the Pluggable Authentication Module (PAM) disabled.
A “misinterpretation of whether a string is intended to be a password hash” allows attackers to access certain accounts using any password that has between 257 and 1,024 characters.
Some accounts, such as root, should never accept a password, but in Linux distributions such as Alpine, OpenWrt, Buildroot, Yocto, and others, they do, Wakefield security researcher Özgün Kültekin says.
According to OpenSSH developer Damien Miller, the flaw is not in sshd itself, but can be exploited via sshd. Fixes were included in OpenSSH 10.6p2.
“We are making this release as fast as possible (we learned of the problem yesterday) because we have recently observed multiple cases of rapid bug rediscovery by AI agents, sometimes within hours, and so now consider long embargo periods to be a dangerous practice that primarily benefits attackers,” Miller said.
On Thursday, Alpine Linux urged users to immediately apply the OpenSSH patches and restart sshd to replace the running daemon, or disable password logins and restart sshd.
“The attacker needs the name of an account whose password field is * (an account with no password set, which is normal for key-only accounts), and needs the machine to have at least one other account with a $5$ or $6$ password hash,” Alpine Linux warns.