Black Friday Code BFCM30: extra 30% off your first bill · Ends Mon 11:59 PM PT See deals

Invite A friend invited you: 20% off your first payment, applied at checkout · New customers only See plans

Login flaw lets long passwords into some small Linux servers

Updated November 6, 2026 · 4 min read

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

  1. Find your Alpine systems. On each server, run cat /etc/os-release and look for ID=alpine. For containers, run docker ps, then docker exec <container> cat /etc/os-release for each one. To see whether an Alpine container runs sshd, run docker exec <container> ps. Containers without an SSH server are not affected.
  2. 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.
  3. Update Alpine servers. Run apk upgrade -U -a, then rc-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.
  4. 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.
  5. 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 no in /etc/ssh/sshd_config, run rc-service sshd restart, and run the sshd -T check again. Close the first session only after a new key login works.
  6. 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.
  7. 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