Trend · as of 7 November 2026

OpenSSH password bypass on Alpine Linux: is your server affected?

On 5 November 2026 the OpenSSH project and Alpine Linux warned of a way to log in over SSH without the right password. It concerns a narrow set of servers, but those servers are common in containers and small cloud machines.

3 min read

A metal keypad for an entry code on an orange wall.

Photo: Nilo Velez, public domain (CC0)

In this guide

Short answer

As of 7 November 2026: Only Linux systems with the musl C library and PAM switched off are affected, which in practice means Alpine Linux running sshd with password login. Update openssh and restart sshd. If you cannot update yet, switch off password login. Red Hat says its products are not affected, and the bug is tracked as CVE-2026-123158.

5 Nov 2026OpenSSH 10.6p2 and the Alpine advisory published
8.1severity score (CVSS 3.1) given in the CVE record
2steps that close it: update, then restart sshd

Who is affected by the OpenSSH password bypass?

Portable OpenSSH 10.6p2 came out on 5 November 2026 with what the project calls a critical security workaround. It affects Linux systems that use the musl C library with PAM disabled. The project places the cause outside sshd itself, but sshd is where it can be exploited, and where it can be stopped.

Alpine Linux is the best-known system built that way. Its advisory of the same day explains the conditions on Alpine:

  • sshd accepts password logins
  • the attacker knows an account whose password field is “*”, such as root as shipped in the base image, users created for key-only login, or directory-service users
  • at least one other account on the machine has a password hash of the $5$ or $6$ type
  • the attacker can reach the SSH port

Alpine’s default openssh-server package is built without PAM and is affected. The openssh-server-pam package is affected when it runs with UsePAM no, and safe with UsePAM yes. Systems with password login switched off are not affected.

What about Debian, Ubuntu and Red Hat?

Red Hat states that its products are not affected, because they link OpenSSH against the GNU C library and use PAM. Debian’s tracker lists its stable releases as vulnerable with urgency “unimportant” and has a fixed package in unstable. Ubuntu marks the issue as needing evaluation. Neither has published more detail. The CVE record limits the problem to musl without PAM, so ordinary shared hosting on these systems is outside it.

The fixed Alpine versions

The fixed Alpine packages mostly keep their older upstream version numbers, so check the package revision rather than the OpenSSH version alone.

Fixed openssh packages on Alpine Linux
Alpine branch Fixed openssh package
edge 10.6_p2-r0
3.24 10.3_p1-r2
3.23 10.2_p1-r1
3.22 10.0_p1-r11
3.21 9.9_p2-r1
3.20 9.7_p1-r6
3.19 9.6_p1-r3

What to do today

  1. Find AlpineList servers and containers that run Alpine with openssh-server, including Docker images.
  2. UpdateRun apk upgrade -U -a, then check the installed revision with apk info -v openssh.
  3. Restart sshdRun rc-service sshd restart. The update alone does not replace the running daemon.
  4. Close passwordsSet PasswordAuthentication no if you cannot update yet, after checking that key login works.
  5. Rebuild imagesRebuild container images that run sshd, so old images are not deployed again.

Keep your current SSH session open while you test a new login after any change to the configuration. A public proof of concept exists. We look after these updates as part of security and backups and managed hosting.

Questions we hear often

Yes. Alpine lists systems with password authentication switched off as not affected.

Very unlikely. Shared hosting normally runs on Debian, Ubuntu or Red Hat family systems, which use the GNU C library. Ask your host if you are unsure.

Alpine fixed several branches without moving to OpenSSH 10.6p2, so the version number stays. Compare the package revision with the table above.

Want this sorted without doing it yourself?

Tell us what you are working on. A person replies within one working day.