Login flaw lets long passwords into some small Linux servers
On November 5, 2026, the OpenSSH project released version 10.6p2, and Alpine Linux released fixed openssh packages for CVE-2026-123158, rated 8.1 (High). OpenSSH is the program that lets you log in to a Linux server over SSH. The bug affects OpenSSH builds that use the musl C library without PAM, which is how Alpine's default openssh-server package is built. On an affected system, an attacker who can reach the SSH port can log in to an account that has no password, such as a key-only user, just by sending a very long password. Cycode and OX Security reported the details. BleepingComputer reports that the bug has been there since 2016 and that researcher Özgün Kültekin found it with AI agents that ran about 17,600 login tests. Cycode reports that the fix shipped within a day of the report.
Who is at risk
You are exposed if a server or container runs Alpine Linux with an SSH server, password logins are on (the default), and at least one other account has a password hash of a certain type. Other musl-based systems such as OpenWrt, Buildroot and Yocto are also affected. Root stays protected by the default PermitRootLogin prohibit-password setting.
Debian, Ubuntu, Fedora and other systems built on glibc are not affected. Neither are systems that log in through PAM. Alpine backported the fix to every branch from 3.16 to edge. Releases older than 3.16 get no fixed package.
What to do now
- Find your Alpine systems. On each server, run
cat /etc/os-releaseand look forID=alpine. For containers, rundocker ps, thendocker exec <container> cat /etc/os-releasefor each one. To see whether an Alpine container runs sshd, rundocker exec <container> ps. Containers without an SSH server are not affected. - Check your login settings. As root on each Alpine system that runs sshd, run
sshd -T | grep -i -E 'passwordauthentication|usepam'. If passwordauthentication is no, or usepam is yes, the flaw cannot be used there. - Update Alpine servers. Run
apk upgrade -U -a, thenrc-service sshd restart. Compare the installed version with the fixed-version table in the Alpine advisory. For example, 3.24 needs openssh 10.3_p1-r2 or later. - Rebuild container images. An upgrade inside a running container is lost the next time it is recreated. Rebuild from an updated base, for example with
docker build --pull, and redeploy. If an image is on an Alpine release older than 3.16, move it to a supported release, or turn password logins off as in the next step. - Turn password logins off wherever keys already work. Open a second terminal and confirm you can log in with your SSH key. Keep the first session open. Set
PasswordAuthentication noin/etc/ssh/sshd_config, runrc-service sshd restart, and run thesshd -Tcheck again. Close the first session only after a new key login works. - Look for signs of a break-in. On Alpine, run
grep 'Accepted password' /var/log/messages. If you see a password login for an account that has no password, treat the system as compromised. Rebuild it from a clean image and change any secrets it held. - Make sure the next fix reaches a person. Subscribe a mailbox that someone actually reads to the OpenSSH announce list, your Linux distribution's security notices and the release feeds of the container images you use. Run any automatic update job on the always-on server itself, never on a laptop that sleeps. Send its output to that same mailbox or to a team chat channel.
Sources
- Cycode: sshole (CVE-2026-123158): OpenSSH password bypass on Alpine Linux
- Security Boulevard: sshole (CVE-2026-123158): OpenSSH password bypass on Alpine Linux
- BleepingComputer: OpenSSH flaw lets attackers log into password-disabled Linux accounts
- OX Security: OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158
- Alpine Linux: OpenSSH password authentication bypass
- OpenSSH: OpenSSH 10.6p2 release notes
- NIST National Vulnerability Database: CVE-2026-123158