On November 5, 2026, the OpenSSH project released Portable OpenSSH 10.6p2 with what its OpenSSH 10.6p2 release notes call a critical security workaround for Linux systems that use musl libc with PAM disabled. Alpine Linux is the most visible target. The flaw, nicknamed “*sshole,” lets an attacker who can reach the SSH port log into accounts that have no password set on musl-based systems running sshd with PAM disabled and password authentication enabled (BleepingComputer). See also our guide on Actively exploited OpenSSH flaw allows unauthenticated login on affected Alpine Linux systems. See also our guide on ASUS patches critical authentication-bypass vulnerability in Control Center Express.
Several conditions have to line up, but on Alpine many of them are defaults: the standard openssh-server package is built without PAM, PasswordAuthentication defaults to yes, and root ships with a * password field. According to the Alpine security advisory, once a host has at least one account whose password field is exactly *, a single local account with a $5$ or $6$ password hash is enough to make every such account reachable.
What Happened With the OpenSSH sshole Vulnerability on Alpine Linux
The root cause sits in how a PAM-less sshd checks passwords with musl libc’s crypt(). For an account whose stored field is too short to contain a salt, sshd borrows the salt of another account that has a real hash.
When musl’s crypt() gets a password over 256 bytes, it returns the literal string * as an error indicator. That’s the same value /etc/shadow holds for an account with no password set, so sshd compares the result against the stored * and sees a match (Alpine security advisory; StepSecurity, Shield53).
The fixes landed the same day. Alongside OpenSSH 10.6p2, Alpine released 3.21.10, 3.22.8, 3.23.8 and 3.24.4 and published fixed openssh packages for edge and every branch back to 3.16, including releases that no longer get regular updates (SecurityWeek, Alpine security advisory):
| Alpine branch | Fixed openssh version |
|---|---|
| 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 |
| 3.18 | 9.3_p2-r4 |
| 3.17 | 9.1_p1-r7 |
| 3.16 | 9.0_p1-r6 |
Some write-ups attach the identifier CVE-2026-123158, including StepSecurity, Vijilan, and Help Net Security. BleepingComputer’s report doesn’t use it, and Alpine’s advisory says no CVE identifier had been assigned at the time it was written. Treat that ID as unconfirmed.
How It Stacks Up: Who’s Actually Exposed
Per Alpine’s advisory, a host is affected only when all of these are true:
| Condition | Affected state | Not affected if… |
|---|---|---|
| C library | musl (Alpine; possibly other musl builds such as OpenWrt, Buildroot or Yocto images) | glibc (Debian, Ubuntu, Fedora, RHEL) |
| SSH server package and effective PAM setting | The default Alpine openssh-server package, which is built without PAM, or openssh-server-pam running with UsePAM no | Only openssh-server-pam running with UsePAM yes; Alpine says that combination “is not affected” |
PasswordAuthentication | yes (the OpenSSH default) | no |
| Passwordless account | At least one account whose password field is exactly * (for example root:* in the base image, which the default PermitRootLogin prohibit-password keeps from logging in directly, key-only users, or the alpine user in tiny-cloud images) | No such account; accounts locked with ! aren’t affected |
| Hashed account | At least one local account with a $5$ or $6$ password hash | No account has a $-style hash |
| OpenSSH | Unpatched package | A fixed package from the table above, or 10.6p2 |
Read the SSH server row as a pair: a UsePAM yes line only protects a host that actually runs the PAM-enabled openssh-server-pam build. The default openssh-server package has no PAM support, so it stays in the affected group whatever its config says. Check which package is installed with apk info -e openssh-server-pam (it prints the name only if that package is installed), and check the effective setting with sshd -T.
The bug doesn’t crack a correctly set password hash. It makes accounts that have no password set reachable with a password. Glibc-based distros aren’t exposed to this musl interaction, though their OpenSSH packages still need normal patch review.
Alpine’s advisory also lists containers that don’t run sshd as not affected, along with cloud images configured through cloud-init, which on those images writes PasswordAuthentication no. Don’t treat that as a rule for every cloud image, though: what cloud-init writes depends on the image and its configuration, so confirm the effective setting with sshd -T rather than assuming it.
The official tiny-cloud images from 3.18.11 through 3.24.3 are a different story: they ship an alpine user with a * field and passwordless doas, and become exploitable as soon as any $6$ hash exists on the machine.
The less obvious risk is embedded gear. An OpenWrt router, a Buildroot image, or a Yocto-built appliance can use musl libc too, since these build systems support musl as one of several C library options.
Whether a specific device is actually exposed depends on its build configuration and SSH settings, not just on whether it can use musl. Filter your inventory by C library and check sshd config directly — filtering by distro or project name alone will miss musl-based embedded gear.
To check a host, start with the effective config. sshd -T prints what the daemon actually uses, after includes and defaults:
# -T dumps the effective sshd configuration; run as root
sshd -T | grep -Ei '^(passwordauthentication|usepam)'
A risky result looks like this on openssh-server-pam:
passwordauthentication yes
usepam no
On the default no-PAM openssh-server build, passwordauthentication yes is the line that matters, whatever the usepam output shows.
If you see that, confirm the libc and check both account conditions:
# A musl loader here means a musl-based system
ls /lib/ld-musl-*
# Accounts whose shadow password field is exactly "*"
awk -F: '$2 == "*" {print $1}' /etc/shadow
# Accounts with a $5$ or $6$ password hash
awk -F: '$2 ~ /^\$[56]\$/ {print $1}' /etc/shadow
On a standard x86_64 Alpine install, for example, the first command prints /lib/ld-musl-x86_64.so.1; the file name differs on other architectures and layouts. If the second command lists at least one account (often root) and the third lists at least one account, and the sshd -T output above matched, treat the host as exposed until it’s patched.
The Reaction
Reaction is still forming. On November 6, Help Net Security reported that threat-intelligence firm Previdian had observed exploitation in the wild following disclosure.
We haven’t independently verified that activity, and we haven’t located a primary incident report naming a specific compromised organization. Treat the exploitation reporting as credible secondary sourcing rather than a confirmed primary account, but plan as though scanners are already probing exposed SSH — that’s cheaper than finding out the hard way.
Alpine’s advisory says to look in /var/log/messages for sshd lines reading Accepted password for an account that has no password, and to review doas use, new users, files and authorized keys; if you can’t rule out a login, treat the machine as compromised.
Our Take
Verdict: patch now on every host that meets all of the exposure conditions above, and don’t wait for a staged pilot on those hosts. Prioritize the rest of your Alpine and musl hosts that run sshd with password authentication enabled for the next patch window.
Reported in-the-wild exploitation, even unverified at the primary-source level, raises the cost of waiting. The cost of acting is small on Alpine. Alpine’s advisory uses a full upgrade followed by a daemon restart:
# Alpine (OpenRC): refresh indexes and upgrade all packages, then restart the running daemon
apk upgrade -U -a
rc-service sshd restart
The restart matters: the upgrade replaces the files on disk, but the sshd process that’s already running keeps using the old code until you restart it.
If you can’t patch today, set PasswordAuthentication no in /etc/ssh/sshd_config and restart sshd. Before you restart, confirm key-based login works in a second session. Otherwise you’ll lock yourself out of a remote box. If the box has no keys set up, close SSH at the firewall until the patch lands.
The real expense is firmware. Routers and appliances wait on vendor builds, and some older branches may never get one. For those devices, key-only auth is the durable fix. A hardware security key such as a YubiKey makes that painless to roll out. The trade-off is key distribution overhead for every admin who touches the fleet.
Wrapping Up
You can now tell whether a host is exposed in about two minutes. Check for musl, check PasswordAuthentication and UsePAM, then look for * entries in shadow. Patch or disable password auth, whichever you can do first. For this flaw, Alpine says either step closes the hole. Neither protects against unrelated SSH bugs or other login paths, such as stolen keys. Password-only SSH on musl appliances was already a liability, and this bug just makes the case for key-only auth harder to ignore.
After the upgrade and sshd restart, list the installed OpenSSH packages with apk info -v | grep '^openssh'. Alpine’s table gives versions for the openssh package, and the server subpackage you run (openssh-server or openssh-server-pam) carries the same version string. That line should match or be newer than the fixed revision listed for your branch in the table above (compare against that branch’s package, not upstream 10.6p2), for example 10.3_p1-r2 on 3.24. If you disabled password logins instead, sshd -T | grep -i passwordauthentication should print passwordauthentication no.