BuyRDPs.
Patch SSHole on a VPS — securing an Alpine Linux server against the OpenSSH auth bypass

Patch SSHole on a VPS: Alpine OpenSSH Auth Bypass Fix (CVE-2026-123158)

Some vulnerabilities need a chain of mistakes to work. This one needs five of them, and on a surprising number of small servers, all five are already in place. SSHole — CVE-2026-123158 — lets an attacker log in to an SSH server with a password that is simply too long. Not a stolen password. Not a guessed password. Any password, as long as it is between 257 and 1,024 characters. The flaw was disclosed on 5 November 2026, and within nine hours someone was already trying it against real servers. CISA put it in its Known Exploited Vulnerabilities catalog four days later. If your VPS runs Alpine Linux, this is the one update to do today — and this guide shows you how to patch SSHole on a VPS, check whether your server was ever exposed, and lock SSH down so a bug like this cannot reach you again.

Here is the honest picture first. SSHole does not affect most VPS owners. Ubuntu, Debian, and RHEL servers are outside its scope entirely, and even on Alpine it only works when five specific conditions line up. But Alpine is the base image for a huge share of Docker containers and the default choice for lightweight VPS setups, and the conditions it needs — no PAM, password login on, a key-only user somewhere on the box — are exactly how a lot of Alpine servers are configured out of the box. The fix itself takes about five minutes. The check takes less than one. Do both before you read the rest of this guide, or at least before you close the tab.

What Is SSHole?

SSHole is a password authentication bypass in OpenSSH’s server, sshd. It is tracked as CVE-2026-123158, scored CVSS 8.1 (High), and classified as CWE-394 — an unexpected return value. It was reported by Özgün Kültekin of Wakefield and disclosed on the oss-security mailing list on 5 November 2026. OpenSSH shipped the fix the same day as OpenSSH 10.6p2. The researcher published the full write-up at sshhole.com, and the name is a joke about the asterisk character that makes the whole thing work.

The flaw affects Linux systems that run sshd on musl libc without PAM. In practice that means Alpine Linux, plus containers, embedded devices, and custom images built the same way. A standard Ubuntu, Debian, or RHEL server builds sshd against glibc with PAM, which puts it outside the conditions the CVE describes. Dropbear and OpenBSD are not affected either.

What makes SSHole worth dropping everything for is not the score — 8.1 is serious but not the highest you will see this month — it is the timeline. The threat-intelligence firm Previdian saw a first exploitation attempt less than nine hours after the CVE was published, and an Alpine honeypot handed the attacker root. Hong Kong’s HKCERT reports the flaw as exploited in the wild, and CISA added it to the Known Exploited Vulnerabilities catalog on 9 November 2026. There is a public proof of concept. This is not a theoretical bug with a long grace period. If your server is exposed, the window to patch before someone tests it is measured in hours, not weeks.

How the Bypass Actually Works

The bug is a collision between three decisions made years apart, each reasonable on its own. Understanding them takes two minutes and it is worth it, because the same pattern — a failure value that accidentally looks like a success value — shows up in other software too.

Decision one: Unix uses an asterisk to mean “this account has no password.” In /etc/shadow, a password field of exactly * means the account cannot log in with a Unix password. Key-only users, directory-service users, and root on Alpine all commonly carry that *. It is a placeholder, not a hash, and it is supposed to mean “no password will ever match”.

Decision two: musl’s crypt() returns * when a login is invalid. The musl C library, which Alpine uses instead of glibc, returns an asterisk from its crypt() function when a password check fails — including when the submitted password is longer than 256 bytes, a limit musl applies to avoid overloading the server. So a too-long password does not produce an error. It produces the exact string that means “no password”.

Decision three: sshd borrows another account’s salt to check a passwordless account. Since 2016, sshd has hashed the submitted password using the salt from a different account that does have a real password hash, when the target account has no usable hash of its own. The point was to stop user enumeration — an attacker should not be able to tell whether an account exists by timing the response. The side effect is that sshd calls crypt() for a passwordless account at all.

Put the three together and the bypass writes itself. An attacker picks an account whose shadow field is * — say a key-only deploy user — and submits any password between 257 and 1,024 characters long. sshd hashes it with the borrowed salt. musl’s crypt() refuses the oversized password and returns *. sshd compares that result with the account’s stored field, which is also *. They match. The login succeeds.

The upstream fix, commit 4353fdc4 (“avoid password authn bypass”), is deliberately small: sshd now refuses to compare against a stored password field shorter than four characters. An asterisk is one character, so it can never match again. OpenSSH’s own release notes are candid about where the blame sits — “We consider the root cause of this bug to be outside sshd, but it is exploitable via sshd and can be avoided there” — which is why the fix landed in sshd rather than in musl.

Two details matter for anyone assessing their own exposure. First, the attacker needs to know the name of a passwordless account, which on Alpine is often guessable: root, the default alpine user on cloud images, or a standard deploy user. Second, the password has to be long enough to trip musl’s 256-byte limit but short enough that sshd still accepts it — the working window is roughly 257 to 1,024 bytes. Both are trivial for an automated scanner, which is why exploitation started within hours of disclosure.

Are You Affected? The Five Conditions

SSHole is not a “check your version and panic” flaw. Every one of these five conditions must be true before the bypass works. If even one is false, your sshd is not exposed to this CVE. Work through the list honestly — the most common mistake is assuming a condition is false without checking.

# Condition How to check
1 sshd runs on musl libc, not glibc ldd /usr/sbin/sshd shows libc.musl
2 sshd does not use PAM sshd -T shows usepam no, or no usepam line at all
3 Password authentication is on sshd -T shows passwordauthentication yes
4 At least one account has * in its shadow password field awk scan of /etc/shadow (below)
5 At least one other account has a $5$ or $6$ password hash Same awk scan

There is a sixth, quieter condition that decides which account an attacker can reach: sshd must permit password login for the target account. Alpine’s advisory is explicit here — root is only reachable if PermitRootLogin yes is set. The default, PermitRootLogin prohibit-password, blocks root password login entirely, so a box whose only * account is root is not reachable through root. But the moment any other * account exists — a key-only deploy user, an LDAP user, the alpine user on a cloud image — that account is reachable, and from there the attacker is inside your server. Alpine’s advisory puts it bluntly: “One user with a password is enough: it makes every account without one reachable.”

Accounts locked with ! in the shadow field are not targets. Systems where no account has a $-style password hash are not affected either — but do not take comfort from that, because setting a password on any account later would expose every * account at once. Patch anyway. The check below shows you exactly where you stand.

The Alpine case deserves a closer look, because Alpine is where this flaw lives. Alpine ships two sshd packages: openssh-server, which does not depend on libpam, and openssh-server-pam, which does. Both link musl. Having the -pam package installed does not prove PAM is in use — the effective UsePAM value decides that, so check it with sshd -T rather than trusting the package list. The -pam package also provides a second binary named sshd.pam, so run the checks against the binary your service actually starts.

Cloud images need special attention. Alpine’s advisory names official tiny-cloud images from 3.18.11 through 3.24.3 as affected: they ship an alpine user with a * password and passwordless doas, and they “become exploitable as soon as any $6$ hash exists on the machine” — for example, the moment someone sets a console password. Images built from 3.21.10, 3.22.8, 3.23.8, and 3.24.4 onwards include the fixed package. Cloud images where cloud-init writes PasswordAuthentication no are not affected. If your VPS started from an Alpine cloud image, check the image version first, before anything else.

Check Your VPS in Four Commands

Run these as root. On Alpine, use a root shell or doas. The whole check takes under a minute, and it settles the question for your server instead of leaving you guessing from a version number.

1. Which OpenSSH package is installed. Because of backports, trust the package manager over the version banner.

apk list --installed | grep openssh

On Ubuntu or Debian, dpkg -l 'openssh-server' shows the same information. On recent builds sshd -V prints the upstream version — but on Alpine stable branches that number looks old even when the package is fixed, because the fix was backported. Alpine patched every listed branch on 5 November 2026, and only edge carries the new OpenSSH 10.6p2. Compare the package revision (-rN), not the OpenSSH version:

Alpine branch Fixed package Notes
edge 10.6_p2-r0 Only branch carrying OpenSSH 10.6p2
3.24 10.3_p1-r2 Backported fix
3.23 10.2_p1-r1 Backported fix
3.22 10.0_p1-r11 Backported fix
3.21 9.9_p2-r1 Branch reached end of support 1 Nov 2026 — upgrade soon
3.20 9.7_p1-r6 Backported fix
3.19 9.6_p1-r3 Backported fix
3.18 9.3_p2-r4 Fixed packages go back to 3.16
3.17 9.1_p1-r7 Backported fix
3.16 9.0_p1-r6 Oldest branch with a fixed package

An Alpine 3.22 box on 10.0_p1-r11 is fixed, even though it reports OpenSSH 10.0. A box on a branch older than 3.16 has no fixed package at all and needs a branch upgrade. And a 3.21 box got this fix but reached end of support on 1 November 2026, so plan the move to a newer branch now rather than after the next flaw.

2. Which libc sshd links against.

ls -l /usr/sbin/sshd*
ldd /usr/sbin/sshd

The first command shows whether a second binary exists. In the ldd output, a line naming libc.musl means musl — the CVE applies. A line naming libc.so.6 means glibc, and the CVE does not apply. A libpam.so.0 line means the binary was built with PAM support. On split builds, PAM can be linked by the authentication helper instead, so the absence of that line from this output does not by itself prove PAM is unavailable — check the effective setting next.

3. The effective PAM and password settings.

sshd -T | grep -Ei '^(usepam|passwordauthentication)'

sshd -T prints the global settings after Include files and defaults are applied, which is what actually matters — the raw config file can mislead you. A binary built without PAM support prints no usepam line; that includes Alpine’s plain server package. A PAM-enabled binary with usepam no also meets the no-PAM condition. On a musl system, the safe result is passwordauthentication no. On a glibc system you will usually see usepam yes. To check the settings for a specific connection, including any Match block overrides, run sshd -T -C user=ACCOUNT,addr=CLIENT_IP,host=CLIENT_HOST with the account and client details filled in.

4. Which accounts have *, !, or a $5$ / $6$ hash as their password field.

awk -F: '$2 == "*" {print "field is *: " $1} $2 ~ /^!/ {print "locked !: " $1} $2 ~ /^[$][56][$]/ {print "sha hash: " $1}' /etc/shadow

Accounts marked field is * are the bypass targets if sshd permits password login for them. Lines marked sha hash are accounts with a SHA-256 or SHA-512 password hash, and at least one must exist for the bypass to work. This check is useful even on a patched box, because it shows you which accounts you expect to be key-only — and whether reality matches that expectation.

Treat the server as potentially affected and patch it now if all four results line up: check 2 shows musl, check 3 shows passwordauthentication yes with either usepam no or no usepam line, check 4 lists a * account and at least one sha hash account, and check 1 shows a revision older than the fixed one. If everything matches except that check 4 shows no sha hash line, Alpine’s advisory counts the box as not affected — patch it anyway, because setting a password on any account later would expose the * accounts that sshd permits to log in with a password.

Checking the OpenSSH version and musl libc on an Alpine VPS terminal
Four commands tell you whether SSHole can reach your server — check the package, the libc, the PAM setting, and the shadow file.

Patch SSHole on a VPS: The Alpine Fix

On an Alpine VPS, the patch is a normal package upgrade. Update the package index, upgrade, restart sshd so the running process uses the new binary, then verify the installed revision.

apk update
apk upgrade
rc-service sshd restart
apk list --installed | grep openssh

The last line should now show the fixed revision for your branch from the table above. If it does not, check that your package index is current (apk update again, and confirm your repository lines in /etc/apk/repositories point at a mirror that has the 5 November packages) and that you are not pinned to an old branch. On a box running Alpine 3.21 or older, remember the branch question: 3.21 is end of support, and branches older than 3.16 have no fixed package, so a branch upgrade is the real fix there.

One restart detail catches people out: restarting sshd does not kill your current session. The restart replaces the listening daemon; your existing connection keeps running on the old process, which is fine, because the old process was already authenticated and the bypass only affects new logins. New connections after the restart use the fixed binary. Test that explicitly — open a second terminal and log in again before you close the first one. If the new login works, the patch is live and your session is safe to close.

If you run sshd inside an Alpine container or on an embedded board, the same rule applies with a different command. OpenWrt’s default SSH server is Dropbear, which is not affected, but OpenWrt’s package feed also carries OpenSSH with separate PAM and non-PAM builds, and the current feed carries fixed OpenSSH 10.6_p2-1. A device where someone installed an older OpenSSH package needs the same four checks and the same upgrade. On Buildroot and Yocto boards the answer depends on how the image was built — the rule is the same everywhere: an affected device runs OpenSSH’s sshd on musl without PAM.

Updating OpenSSH on an Alpine VPS to patch the SSHole vulnerability
The patch itself takes two minutes. The verification afterwards is what proves the old package is gone.

Patch Alpine Containers That Run SSH

Alpine is the base image for a huge share of Docker containers, and some of those containers run sshd. A container is not patched by patching the host. An old container keeps its old package until you upgrade it or pull the new image and recreate the container. Restarting an old container changes nothing.

The popular linuxserver/openssh-server image is built from baseimage-alpine:3.24. It installs openssh-server-pam, not the plain package, and its init script turns password login on only when you set PASSWORD_ACCESS=true — otherwise it sets PasswordAuthentication no. On 23 November 2026, Docker Hub showed the latest tag as 10.3_p1-r2-ls244, which matches Alpine 3.24’s fixed package, as did the earlier 10.3_p1-r2-ls242. A container is only fixed if it was created from one of those images or a newer one, or its installed package was upgraded to a fixed revision. Check the running container the same way you check a host:

docker exec CONTAINER_NAME apk list --installed | grep openssh
docker exec CONTAINER_NAME sh -c 'sshd -T | grep -Ei "^(usepam|passwordauthentication)"'

To fix it, pull the new image and recreate the container with your usual command:

docker pull lscr.io/linuxserver/openssh-server:latest
docker compose up -d

Or with plain docker run, stop and remove the old container and start a new one from the pulled image. Do not forget the images you built yourself: any Dockerfile with FROM alpine:3.2x and an apk add openssh step bakes the vulnerable package into the image at build time. Rebuild those images from a current base and push the new tag, then roll the deployment. If you run a private registry, tag the old images so nobody deploys them by accident, and scan the registry for Alpine-based images that still carry a pre-fix openssh package. This is also the moment to ask whether the container needs sshd at all — most containers do not, and removing the SSH server from the image removes the whole class of flaw.

Ubuntu, Debian, and RHEL: Not Affected

If your VPS runs Ubuntu, Debian, or RHEL, you can stop worrying about this CVE — but read the next two paragraphs anyway, because the trackers are confusing on this one and you may see your distribution listed as vulnerable.

These distributions link sshd against glibc and build it with PAM. That is the opposite of both conditions in the CVE text, so they are outside its stated scope. Red Hat states plainly: “Red Hat products are not affected by this vulnerability.” Ubuntu lists openssh as “Not affected” for every release from 14.04 LTS to 26.10, at priority High, with a triage note saying OpenSSH in Ubuntu is linked against glibc and uses PAM, so it is not vulnerable to this issue. Rocky Linux, AlmaLinux, and Fedora had no advisory for this CVE as of 10 November 2026, but the same glibc-and-PAM reasoning applies to their standard builds — check your distribution’s errata page to confirm.

Debian is the one that looks alarming. Its security tracker marks bookworm (1:9.2p1-2+deb12u10) and trixie (1:10.0p1-7+deb13u4) as vulnerable, along with the older packages in their security suites, with only forky and sid (1:10.6p2-1) marked fixed. The tracker’s notes now say explicitly that Debian-built binary packages are not affected, because the problem requires musl without PAM. Do not read the version table as “Debian is exploitable”. The tracker is recording that the upstream code is present, not that a Debian server can be bypassed. Run the four checks above on your own box if you want certainty — on a glibc system, check 2 will show libc.so.6 and the question is settled in ten seconds.

One caveat applies to everyone, whatever the distribution: a glibc host can still run Alpine containers, and an Alpine container can still run sshd. The host is safe. The container may not be. If your Ubuntu VPS runs Docker, the container check in the previous section is the one that matters for you. The same goes for any Alpine-based virtual machine, LXC container, or chroot on an otherwise unaffected host. Check the guest, not just the host.

Lock SSH Down After Patching

Patching removes this one flaw. It does not remove the conditions that made it dangerous — a public SSH port, password login enabled, and accounts that should never accept a password. Fix those too, while you are in the config file. If you only do one thing from this section, make it the first one.

Turn off password authentication. The oss-security advisory says setting PasswordAuthentication no mitigates SSHole, and it stays good advice after you patch. Password login on a public SSH port invites guessing attacks, and SSH keys are much stronger. First, confirm that key login works from a second terminal. If you skip that step, you can lock yourself out. If key login fails, fix that before you change anything — the usual causes are wrong permissions on ~/.ssh/authorized_keys (600) and ~/.ssh (700), or a home directory that is group-writable.

Many images read drop-in files from /etc/ssh/sshd_config.d/, but only if the main file has an Include line. Check before you rely on it:

grep -i '^include' /etc/ssh/sshd_config
echo "PasswordAuthentication no" > /etc/ssh/sshd_config.d/00-no-passwords.conf
sshd -t && rc-service sshd restart
sshd -T | grep -i '^passwordauthentication'

If the first grep prints nothing, put PasswordAuthentication no near the top of /etc/ssh/sshd_config instead. For most settings, sshd uses the first value it reads, so an earlier PasswordAuthentication yes wins over a later no. sshd -t tests the file and prints an error, so sshd never restarts with a broken config. The final command must print passwordauthentication no. If you use Match blocks, check the target connections with sshd -T -C and remove any matching PasswordAuthentication yes override. On Ubuntu or Debian, restart with sudo systemctl restart ssh instead of rc-service.

Keep root out of password login entirely. The default PermitRootLogin prohibit-password already does this, but verify it is actually set — someone may have changed it to yes for convenience months ago. While you are there, consider PermitRootLogin no and logging in as a normal user with doas or sudo. If your Alpine cloud image ships an alpine user with passwordless doas, that user is a full root equivalent the moment anyone logs in as it, so give it a key, disable its password login, and require a password for doas — or delete the account once you have your own admin user.

Change the port only as a garnish, not a fix. Moving sshd off port 22 cuts the background noise in your logs, but it does not stop a determined scanner, and it does nothing against a flaw like this one. Do it if you like the quieter logs. Do not do it instead of patching.

Limit who can reach sshd at all. If only you ever log in, a firewall rule that allows port 22 from your IP — or a VPN, or Tailscale — removes the entire internet from the equation. On a VPS this is one firewall rule, and it is the single most effective SSH control there is. Fail2ban is a reasonable second layer for servers that must stay open to the world, but it is a rate limiter, not a substitute for key-only login.

For the full hardening checklist, see our guide to securing your VPS, and if this is a new server, the new VPS setup checklist covers the same steps in the order to do them.

How to Tell If Someone Already Got In

SSHole has been actively exploited since within hours of disclosure, so patching is only half the job if your server was exposed. Check for signs of intrusion before you assume you were lucky.

Check who logged in, and from where. The last command lists recent logins with source IPs. Look for logins at odd hours, from countries you have never connected from, or for accounts you rarely use. lastlog shows the most recent login per account — an account you never log in with that shows a recent login is a red flag. Cross-check against your own records: if you only ever connect from home and one office IP, anything else needs an explanation.

last -n 50
lastlog
grep "Accepted" /var/log/auth.log 2>/dev/null || grep "Accepted" /var/log/secure 2>/dev/null || journalctl -u sshd --since "2026-11-05" | grep -i accepted

On Alpine, sshd logs through syslog — check /var/log/messages or your syslog destination if the commands above print nothing. Look specifically for successful logins on or after 5 November 2026, the disclosure date, for accounts with a * shadow field. A successful login for a key-only user that never uses a key is the clearest possible sign.

Check what changed on the box. Look for new users in /etc/passwd, new SSH keys in every ~/.ssh/authorized_keys file (including root’s and the alpine user’s), unexpected cron entries (crontab -l for each user, plus /etc/cron.d/ and /etc/periodic/ on Alpine), and new systemd or OpenRC services. Check for processes you do not recognise and for network listeners on ports you did not open:

ss -tulpn
ps aux --sort=-%cpu | head -20
cat /etc/passwd | cut -d: -f1,3,6,7

Also check doas and sudo logs for privilege escalation after an unusual login. On the Alpine honeypot that the researchers watched, the attacker reached root — the alpine user’s passwordless doas makes that step trivial once the login succeeds, so a compromise of the alpine account is effectively a full root compromise.

If you find evidence of intrusion, do not just change the password and move on. Rotate every SSH key on the box, revoke any keys you cannot account for, and rebuild the server from a clean image — a compromised box cannot be trusted to clean itself. Check anything the server had credentials for: other servers with the same key, databases, object storage, and your provider’s API keys. If the server holds customer data, treat it as a breach and follow your incident process. And if you find nothing, say so honestly: absence of evidence in the logs is reassuring, not proof, especially if log rotation has already eaten the first week of November. Patching and hardening still close the hole either way.

What If You Can’t Patch Today?

Sometimes the honest answer is that the patch has to wait — a production server in the middle of a deployment, a container image you cannot rebuild until Monday, a device you cannot reach until you are back on site. If that is your situation, do the mitigation now and the patch as soon as you can. The mitigation takes two minutes and removes the exposure completely.

Set PasswordAuthentication no in sshd’s configuration, exactly as described in the hardening section above, and restart sshd. With password login off, the bypass has nothing to compare against — the flaw needs a password attempt to work. Verify key login from a second terminal before you restart, or you may lock yourself out of the only door you have. If key login does not work yet, set it up first; it is ten minutes of work and it is the permanent fix for this whole class of problem.

Two more stopgaps, if even that is not possible right now: restrict port 22 at the firewall to your own IP addresses, or stop sshd entirely until you can patch. Stopping the service is drastic, and it means no remote access at all, but it is better than leaving a known-exploited bypass open on a public port over a weekend. Whatever you choose, do not rely on obscurity — a non-standard port, a quiet hostname, or a small provider do not hide a server from scanners that found this flaw within nine hours of disclosure.

And do not let the mitigation become the permanent plan. A server with password login disabled but an unpatched sshd is safe from SSHole and still exposed to whatever the next OpenSSH flaw turns out to be. Put the patch on the calendar for the next maintenance window, and check the Alpine security tracker for your branch while you are there.

Frequently Asked Questions

Is my Ubuntu VPS affected by SSHole?

No. Ubuntu builds sshd against glibc with PAM, and the CVE is limited to musl libc without PAM. Ubuntu lists openssh as “Not affected” for every release from 14.04 LTS to 26.10. The same applies to Debian and RHEL. What can still be affected on an Ubuntu host is an Alpine-based Docker container or virtual machine running sshd — check the guest, not just the host.

How do I know if my Alpine server is actually vulnerable?

Run the four checks in the check section: the installed openssh package revision, ldd /usr/sbin/sshd for musl, sshd -T for the effective PAM and password settings, and the awk scan of /etc/shadow for * accounts and $5$/$6$ hashes. All five conditions must hold. If your package is at or past the fixed revision for your branch, you are patched even if the OpenSSH version number still looks old.

Why does my patched Alpine server still show an old OpenSSH version?

Because Alpine backported the fix into the OpenSSH version each stable branch already ships. Only edge carries OpenSSH 10.6p2. A 3.24 box shows 10.3, a 3.22 box shows 10.0, and both are fixed if the package revision matches the table — 3.24 needs 10.3_p1-r2, 3.22 needs 10.0_p1-r11. Compare the revision, not the version.

Can SSHole be exploited against a container?

Yes, if the container runs sshd on an Alpine base with the same five conditions. The linuxserver/openssh-server image is the best-known example: it enables password login only when PASSWORD_ACCESS=true is set. An old container keeps its old package until you pull the new image and recreate it. Check the running container with docker exec, then rebuild or recreate from a fixed image.

Is SSHole in CISA’s Known Exploited Vulnerabilities catalog?

Yes. CISA added CVE-2026-123158 to the KEV catalog on 9 November 2026, four days after disclosure. KEV listing means CISA has evidence of active exploitation, and for US federal agencies it starts a binding remediation deadline. The public evidence matches: a first exploitation attempt within nine hours of the CVE, a honeypot compromise to root, and HKCERT reporting exploitation in the wild.

Does turning off password authentication fix SSHole?

It mitigates it completely for this flaw — with PasswordAuthentication no, there is no password attempt for the bypass to abuse. It is the right stopgap if you cannot patch today, and it is the right permanent setting for any public SSH server. It is not a substitute for patching, though: the underlying sshd is still unpatched, and the next OpenSSH flaw may not need a password at all.

Should I worry about other musl-based systems?

Yes, in principle. Any system that runs OpenSSH’s sshd on musl without PAM is in scope — OpenWrt devices with the OpenSSH package installed, Buildroot and Yocto boards, and custom musl images. OpenWrt’s default Dropbear is not affected, and its OpenSSH feed package is fixed at 10.6_p2-1. The rule is the same everywhere: check the libc, the PAM setting, and the package revision.

The Bottom Line

SSHole is a small bug with a large lesson. Three reasonable decisions — an asterisk meaning “no password”, a library returning an asterisk on failure, and a server borrowing another account’s salt to hide whether an account exists — combined into a login bypass that needs nothing but a long password. It was disclosed on 5 November, exploited within nine hours, and in CISA’s KEV catalog by 9 November. That is the pace of modern vulnerability disclosure, and it is the reason the patch window for a public server is now measured in hours.

If you run Alpine, the work is simple: run the four checks, upgrade the openssh package to the fixed revision for your branch, restart sshd, and verify. Then turn off password authentication, check the alpine user on any cloud image, and rebuild any Alpine containers that run sshd. If you run Ubuntu, Debian, or RHEL, you are outside this CVE — but check your containers anyway, because Alpine hides inside a lot of infrastructure that does not advertise it.

The patch series this month has been relentless — PHP2Shell, the Linux kernel, LiteSpeed, NGINX, Apache, PHP 8.6, and now SSHole — and the pattern is the same every time: the fix is quick, the check is quicker, and the servers that get hurt are the ones where nobody looked. This one took you about five minutes. Do the next one the same day it is announced.

Leave a Comment

Your email address will not be published. Required fields are marked *