On November 5, 2026, OpenSSH and Alpine Linux disclosed fixes for SSHole (CVE-2026-123158). Under specific conditions, an attacker can log in to an SSH account that has no valid password simply by supplying an unusually long password, without knowing the correct password or holding an SSH key. Internet-facing SSH servers warrant urgent review. [1][2][3]
Affected operating systems and configurations
Start with Alpine Linux 3.16–3.24 and edge. Other musl-based systems, including custom OpenWrt, Buildroot or Yocto deployments, may be affected if they run OpenSSH with similar settings. Not every deployment of these systems is vulnerable. [1][4]
All of these conditions must be present: OpenSSH sshd uses musl libc without PAM; PasswordAuthentication yes is enabled; a user has * in its /etc/shadow password field; and at least one other account has a $5$ or $6$ password hash. A 257–1,024-byte password may then pass authentication incorrectly. [1]
Typical glibc-based Debian, Ubuntu and Fedora installations are outside this flaw's scope. Systems with PasswordAuthentication no, UsePAM yes or containers without sshd are also not affected by this attack. Accounts normally restricted to SSH keys still matter if the server accepts password authentication. [1][2]
Patch, then restart sshd
On Alpine Linux, run apk upgrade -U -a followed by rc-service sshd restart. Fixed packages ship with Alpine 3.21.10, 3.22.8, 3.23.8 and 3.24.4, and patches also exist for releases back to 3.16. Upstream OpenSSH 10.6p2 fixes the flaw, while Alpine backports may keep older upstream version numbers. Installing a package without restarting the running daemon is insufficient. [1][2]
If updating is not immediately possible, verify SSH key access first, set PasswordAuthentication no, then restart sshd. Keep an existing session open until a new login works. Review /var/log/messages for Accepted password for entries on passwordless accounts. [1]
Check exposure, not just software versions
SSHole does not affect every Linux host. Inventory musl-based sshd services, check their authentication and account settings, deploy the right fix and confirm the updated daemon is running. Investigate possible compromise when unexpected password logins appear. [1]
Sources & further reading
- [1]Security advisory: openssh-server password authentication bypass Alpine Linux · 2026-11-05
- [2]OpenSSH 10.6p2 release notes OpenSSH · 2026-11-05
- [3]CVE-2026-123158 CVE Program · 2026-11-05
- [4]SSHole technical disclosure Özgün Kültekin · 2026-11-05




