Skip to content

All posts

Updated IT security, Patch management

PSA: OpenSSH password login flaw on musl Linux systems

OpenSSH 10.6p2 fixes a critical password-auth bypass on Linux/musl without PAM. Check, patch, or set PasswordAuthentication no. Debian/Ubuntu/RHEL are unaffected.

Status as of 10 November 2026, 09:58 CET. The flaw now has the CVE ID CVE-2026-123158. CISA added it to the KEV catalog on 9 November 2026; the due date there is 12 November 2026. Active exploitation is therefore considered confirmed. The root cause remains disputed between OpenSSH and musl developers.

On 5 November 2026 the OpenSSH project released portable 10.6p2. According to the release notes it contains a critical security workaround for Linux systems that use the musl C library with PAM disabled. In that setup, password authentication could be bypassed through sshd. The issue was reported by Özgün Kültekin of Wakefield (wakefield.co). Damien Miller summarized the timeline on Mastodon: the project learned of the problem the day before and kept the embargo short because of recently observed rapid rediscovery by AI agents (post).

Who is not affected

PAM (Pluggable Authentication Modules) is the usual Linux layer services such as sshd use to check logins. Distributions that use glibc with PAM enabled are not affected, according to the release notes and Damien Miller. That covers typical Debian, Ubuntu, RHEL, Fedora, and SUSE installs. Non-Linux systems are out of scope as well. Dropbear is not affected, per Natanael Copa’s review of the Dropbear sources (ncopa). Hosts that already disable password login have no attack path through password checking for this bypass.

If your sshd is linked against glibc and uses PAM, this flaw does not call for emergency action.

Where it shows up in production

The relevant case is narrow. Alpine Linux builds the default sshd without PAM (--without-pam) per its APKBUILD; the PAM variant ships as a separate package. Typical places are Alpine bastion hosts, CI runners and build agents on Alpine images, containers and appliances with Alpine or another musl userland, and custom images where sshd was compiled without PAM.

Builds that include PAM support can still be affected when UsePAM is no at runtime. Damien Miller confirmed that (reply). Void Linux ships OpenSSH with a PAM build; the live UsePAM setting is still worth checking.

Check in three steps

These commands are inventory only. They tell you whether a host sits in the affected set.

1. Is sshd on musl?
Read /etc/os-release (for example Alpine). Also run ldd $(which sshd): if musl shows up, the first condition holds. If the output points at glibc, you are very likely outside this flaw.

2. What about UsePAM and PasswordAuthentication?
sshd -T prints the effective configuration. Filter for usepam and passwordauthentication. If password login is no, the bypass path through password checking is gone. If usepam is no and the system is musl, you are in scope.

3. Which package version is installed?
On Alpine: apk info -v openssh-server. The upstream fix is in OpenSSH 10.6p2. Alpine Linux said it would backport the fix all the way to Alpine 3.16 (announcement); Natanael Copa reported 81 builds from edge down to 3.16 on all architectures built and pushed (ncopa). On older branches the version string may still show an older OpenSSH base with a bumped package revision.

What to do now

If you are affected: install your distribution’s fixed package and restart sshd. On Alpine, apk upgrade for the OpenSSH packages plus a controlled service restart is usually enough.

As a stopgap before the package lands: set PasswordAuthentication no and reload sshd. Damien Miller and Alpine Linux both call for that immediately. You need another way in, such as key-based login or a working console. Without that, you lock yourself out.

Rebuild and roll container and appliance images that ship sshd once the fixed package is in the base. For vendor appliances, ask whether the image uses musl without PAM and whether an update exists.

Setting PasswordAuthentication no closes the password attack path. It does not replace the update.

What is still open

The flaw is listed in the NVD as CVE-2026-123158. CISA added it to the KEV catalog on 9 November 2026; the due date there is 12 November 2026. On the cause, the release notes say OpenSSH considers the root cause to be outside sshd; Rich Felker (musl) states that in his view it is not a musl vulnerability (post). At release time, Damien Miller pointed to observed rapid rediscovery by AI agents (post). That was an assessment of embargo practice, not his own account of exploitation.

What we take from this

We treat musl-based SSH hosts and images as their own inventory class. We check bastions, runners, and appliances for musl, UsePAM, and the OpenSSH or package version, patch or temporarily set PasswordAuthentication no, and track which images need a rebuild. glibc-plus-PAM systems stay off the urgent list on purpose.

Check by Monday: Which hosts and images in your scope run OpenSSH on musl with password login, and do they already have the fixed package?