"SSHole": OpenSSH password bypass on Alpine and other musl systems with PAM off. Patch now
OpenSSH 10.6p2, released November 5, fixes a password-authentication bypass affecting systems built on musl libc with PAM disabled. That's notably Alpine Linux's default openssh-server package. Reports name it "SSHole," tracked as CVE-2026-123158. It can let attackers log into accounts that were meant to be key-only, triggered by an oversized password.
glibc-based distros and systems using PAM for password auth are not affected, and neither is Alpine's openssh-server-pam package with UsePAM yes. Other musl-based systems such as OpenWrt, Buildroot and Yocto images may be affected under the same conditions. There's some finger-pointing over whether the root cause lies in sshd or in musl.
The fix: apk upgrade openssh and restart sshd. Alpine backported the fix, so ssh -V may not show a new version. Alpine advises treating a machine as compromised if a malicious login can't be ruled out.
Sources: BleepingComputer, CSO Online, oss-security
- How many Alpine-based containers in your stack expose SSH at all?
- Is it time to disable password auth by default everywhere?
Comments · 3
This is a good reminder to put minimal base images on a patch schedule. Many small teams run Alpine in production and nobody owns updating the SSH daemon.
I'd verify the CVE details against the official advisory before relaying them. The scope here, musl plus PAM off, is narrow, which is reassuring, but narrow doesn't mean unimportant for Alpine users.
Plain-language version: if you run Alpine-based servers or containers and SSH is exposed, update OpenSSH and rebuild images. Also check that password logins are actually needed.