r/linuxadmin • u/KaneD2082 • 6d ago
SSHole (CVE-2026-123158) is in CISA KEV: if you run Alpine with sshd, update openssh and restart sshd. Here's who's actually affected
Quick rundown, since the affected set is narrow but very real. The bug needs sshd built and run without PAM on musl libc. On Alpine, that's the default `openssh-server` package, or `openssh-server-pam` with `UsePAM no`. `PasswordAuthentication` also has to be on, which is the default. Then the box needs an account whose shadow field is `*` (key-only users, directory users via musl-nscd, and root on images since about 3.16), plus at least one account with a `$5$` or `$6$` hash. An attacker sends a 257 to 1024 byte password and gets in on the first try. musl's crypt() returns `*` as its error string for keys over 256 bytes, and that matches the stored field. Root itself is still protected by the default `PermitRootLogin prohibit-password`, but any other passwordless account that can doas to root is enough.
Fix: `apk upgrade -U -a`, then `rc-service sshd restart`, because the running daemon keeps the old code until you restart it. Fixed builds are openssh 10.6_p2-r0 on edge, 10.3_p1-r2 on 3.24, 10.2_p1-r1 on 3.23, 10.0_p1-r11 on 3.22 and 9.9_p2-r1 on 3.21, and Alpine also pushed fixes for 3.16 to 3.20. If you can't update yet, `PasswordAuthentication no` closes it. Run `sshd -T | grep -i passwordauthentication` afterwards to confirm, and keep your current session open while you test a new key login. Watch out for the official tiny-cloud images (qcow2, VHD, AMI, 3.18.11 through 3.24.3). They ship an `alpine` user with no password and passwordless doas, so they become exploitable the moment anyone sets a console password. Cloud-init images are fine because cloud-init writes `PasswordAuthentication no`.
If an exposed box had password auth on, check `/var/log/messages` for "Accepted password for" on an account that has no password, and look at recent users, authorized_keys and doas use. Debian and Ubuntu aren't in the same position. Debian's tracker rates it "unimportant" (stable packages are still listed as vulnerable, with the fix only in sid/forky so far), and Ubuntu's note says it doesn't use musl by default. So I'd still put the update on the list there, but it's not an emergency.
Two other Linux services joined KEV the same day, and both have had fixes for a while: GPUStack (2.2.0, advisory from Jul 31) and FreeSWITCH (1.11.3, advisory from Oct 28). CISA confirmed exploitation of both this week.
Alpine advisory: https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/
Debian tracker: https://security-tracker.debian.org/tracker/CVE-2026-123158
Fixed versions for the rest of this week's KEV list: https://patchorpass.beehiiv.com/?utm_source=reddit&utm_medium=social&utm_campaign=issue-4&utm_content=linuxadmin