OpenSSH on Alpine Linux: a very long password lets attackers log in without the real one
- Who it affects
- Servers and VMs running Alpine Linux (or another musl-based system without PAM) with the SSH server on, password login enabled, and some account without a password of its own. Containers that don't run sshd aren't affected, and neither are most distributions (Debian, Ubuntu, and Fedora use glibc).
- What to do
- Update openssh (
apk upgrade -U -a) and restart sshd: upgrading the package doesn't restart the service. If you can't right now, setPasswordAuthentication noin your sshd configuration. - Details
- With a password between 257 and 1,024 bytes, an attacker who can reach the SSH port can log in to accounts whose password field is
*(key-only accounts, or root in the base image) if another account on the machine has a password. Alpine published it on November 5 alongside OpenSSH 10.6p2; vendors don't report active exploitation, but it's trivial to exploit.CVE-2026-123158
Alpine Linux: openssh-server password authentication bypass advisory (Nov 5) · OpenSSH: 10.6p2 release notes · Alpine Security Tracker: CVE-2026-123158