CVE-2026-123158: OpenSSH Flaw Lets Logins Bypass Passwords

OpenSSH has fixed a password authentication bypass in its server software that lets an attacker log in to some Linux systems with a very long password, even for accounts that have no usable password. The flaw, tracked as CVE-2026-123158 and nicknamed "sshole", affects Linux systems built on the musl C library with PAM disabled, a configuration used by Alpine Linux and many minimal container images. The fix is OpenSSH 10.6p2, released on 5 November 2026.
On an affected host, an account whose password field in the system password file is a single asterisk, meaning no password login is allowed, will accept any password between 257 and 1,024 bytes long. The attacker only needs to know the account name and be able to reach the SSH port. The bug was reported by researcher Ozgün Kültekin of Wakefield and disclosed on 5 November, the same day the fix shipped. OpenSSH describes the release as a critical security workaround, because it considers the root cause to sit outside its own code, in how musl's crypt function reports a failure, while sshd is where the flaw can be exploited.
Who is affected by CVE-2026-123158?
The flaw needs three conditions at once: the server runs on musl rather than the more common glibc, its sshd is built or configured without PAM, the framework that normally handles password checks, and password authentication is switched on. Alpine Linux is the best-known example, because its standard openssh-server package is compiled without PAM and password logins are on by default. Other musl-based platforms named in reporting include OpenWrt, Buildroot and Yocto builds. Standard Debian, Ubuntu, Fedora and Red Hat servers build sshd against glibc with PAM, and OpenSSH developer Damien Miller has said those systems are not affected, along with non-Linux systems and any server where password authentication is switched off.
Alpine Linux published fixed packages for every release back to 3.16 on 5 November, with point releases 3.21.10, 3.22.8, 3.23.8 and 3.24.4 carrying the repair, and edge on package 10.6_p2-r0. Administrators should upgrade to OpenSSH 10.6p2 or their distribution's patched package and restart sshd. Where no fixed package is available yet, switching password authentication off and restarting sshd removes the attack path.
CISA adds the flaw to its exploited list
The US Cybersecurity and Infrastructure Security Agency added CVE-2026-123158 to its Known Exploited Vulnerabilities catalogue on 9 November 2026, with a federal remediation deadline of 12 November that has now passed. CISA only adds a flaw to that catalogue when it has evidence of active exploitation. The flaw scores 8.1 on the CVSS scale, rated high severity. The weakness is old in origin: reporting traces it to a 2016 change made to fix a username-enumeration bug, CVE-2016-6210, which altered how OpenSSH handles password-verification errors on musl. That history is a warning in itself: a decade-old workaround can quietly become a login bypass when the surrounding code changes. Source: OpenSSH release notes