SSHole (CVE-2026-123158) is a flaw in the OpenSSH server that lets an attacker log in to accounts that have no password set. It affects Linux systems that use the musl C library and check passwords without PAM, such as Alpine Linux's default openssh-server package, including Alpine-based containers that run sshd. Update OpenSSH and restart sshd, or turn off password logins, today.
What happened
OpenSSH released version 10.6p2 on November 5, 2026, with what its release notes call a critical security workaround. The Hacker News and SecurityWeek report a CVSS score of 8.1. Threat intelligence firm Previdian says it saw the first exploitation attempt less than nine hours after the CVE was published and confirmed root access on a honeypot running Alpine Linux and OpenSSH. Help Net Security reports that CISA has not added the flaw to its Known Exploited Vulnerabilities (KEV) catalog.
In plain terms: without PAM, sshd checks a password by hashing it and comparing the result with the stored value. Accounts with no password store a single placeholder character, *. When someone sends an unusually long password, musl's hashing function fails and returns that same placeholder, so the comparison matches and the login succeeds. Accounts with a real password hash are not bypassed this way.
According to Alpine's advisory, a system is exposed only when all of these are true: sshd runs without PAM (Alpine's default openssh-server, or openssh-server-pam with UsePAM no), PasswordAuthentication is on (the OpenSSH default), some account has * as its password field, and at least one local account has a $5$ or $6$ password hash. That includes root (shipped as root:* since about Alpine 3.16), key-only users, and the alpine user in tiny-cloud images 3.18.11 to 3.24.3, which has passwordless doas. Most glibc distributions, PAM-based setups, Dropbear, and containers that do not run sshd are not affected.
Alpine published fixed openssh packages for every branch back to 3.16: edge 10.6_p2-r0, 3.24 10.3_p1-r2, 3.23 10.2_p1-r1, 3.22 10.0_p1-r11, 3.21 9.9_p2-r1, 3.20 9.7_p1-r6, 3.19 9.6_p1-r3, 3.18 9.3_p2-r4, 3.17 9.1_p1-r7, and 3.16 9.0_p1-r6. Point releases 3.21.10, 3.22.8, 3.23.8 and 3.24.4 include the fix.
Why it matters for website owners
If your site, API or a container behind it runs on Alpine with sshd and password logins enabled, anyone who can reach the SSH port can try this. Safe Security notes (via The Hacker News) that attackers may also reach deployment credentials and application secrets on a compromised machine. Patch or disable password logins this week, then check your logs.
What to check on your site
- Update and restart. On Alpine, run
apk upgrade -U -a, thenrc-service sshd restart. Upgrading the package does not restart the running daemon. If you build OpenSSH yourself, move to 10.6p2. - If you cannot update yet, turn off password logins. First confirm SSH key login works and keep your current session open. Then set
PasswordAuthentication no, check the config withsshd -t, and restart sshd. - Rebuild container images. If an Alpine-based image installs
openssh-server, rebuild it with the fixed package and replace running containers. - Check logs. Alpine advises looking in
/var/log/messagesfor sshd lines readingAccepted password foran account that has no password, such asalpine,rootor a key-only user. Previdian's observed attempts came from89.116.89[.]18. - Review exposed machines. Look at
doasuse, recently created users, changed files and authorized keys. If you cannot rule out a login, Alpine says to treat the machine as compromised. - Check the public side. The Site Compromise Checker looks for public signs that a site may be compromised. It cannot see SSH or confirm whether this flaw was used on your server. Your logs can.
Related reading
- Terminal List for Website Security: Linux Commands for Web Server Audits
- Post-Incident Website Validation: What to Check After Credentials or Code May Have Been Compromised
Sources
- Alpine Linux: Security advisory: openssh-server password authentication bypass (Nov 5, 2026)
- OpenSSH: Release notes for OpenSSH 10.6p2 (Nov 5, 2026)
- Help Net Security: OpenSSH flaw exploited in the wild just hours after disclosure (Nov 6, 2026)
- The Hacker News: Hackers target OpenSSH SSHole flaw within hours of disclosure (Nov 6, 2026)
