Skip to main content
Varaxon Technologies

Reading scan results

OpenSSH vulnerability CVE-2026-123158 (SSHole): who is really exposed, and why your scanner may say you are

The exploited OpenSSH flaw only hits musl Linux without PAM, like Alpine. How to tell a real finding from a version-number false positive, and how to fix it.

By Brandon Sooknanan, Founder, Varaxon Technologies · · 10 min read

Most exploited vulnerabilities give you one problem: patch fast. This one gives you two. A small number of your machines may be genuinely open to a password bypass that attackers began using within two days of the fix. A much larger number will probably show up in scan results as vulnerable when they are not. If you run scans for your own company or for clients, you need a quick way to tell the two apart, and evidence you can keep.

Every fact here comes from the OpenSSH 10.6p2 release notes, Alpine Linux's security advisory, the NVD record, the Red Hat, Ubuntu and Debian pages for the CVE, GreyNoise's SSHole event page, CISA's KEV catalog and FIRST's EPSS scores, all read on 3 December 2026. Where we add our own advice, we say so.

What happened, in order

The CVE-2026-123158 timeline, from GreyNoise's event page, OpenSSH, Alpine, NVD, CISA's KEV feed and FIRST's EPSS API
Date (2026, UTC)What happened
5 Nov, 09:00The fix is pushed to OpenSSH's public repository, and OpenSSH 10.6p2 is released a minute later. Alpine publishes its advisory and fixed packages the same day.
5 Nov, 13:16GreyNoise records the first public exploit code on GitHub, about four hours after the release.
5 Nov, 16:17The CVE is published to NVD with a CVSS score of 8.1 (High).
7 Nov, 00:46GreyNoise sees the first successful exploitation of one of its own sensors.
9 NovCISA adds the CVE to its Known Exploited Vulnerabilities catalog, with a due date of 12 November for US federal agencies.
3 DecFIRST's EPSS model scores it at 89.6%, higher than 99.7% of all scored CVEs.

The OpenSSH team calls this a critical security workaround and says the root cause sits outside sshd, in how the C library handles a failed password hash. The short version from Alpine's advisory: when musl's crypt() function gets a key longer than 256 bytes, it returns * to signal an error. * is also exactly what the password field holds for accounts that have no password. So the comparison matches and the login succeeds.

Who is actually exposed

Alpine's advisory says a machine is affected only if all of these are true:

  • sshd is built without PAM, or PAM is turned off. On Alpine that means the openssh-server package, or openssh-server-pam with UsePAM no.
  • PasswordAuthentication is yes. That is OpenSSH's default unless someone changed it.
  • An account has no password set, which means its password field is *. That covers key-only users, accounts created without a password, users coming from a directory service through musl-nscd, and root, which ships as root:* on Alpine. OpenSSH's default PermitRootLogin prohibit-password protects root itself, but not another account that can become root, for example through doas.
  • At least one local account has a real password hash (one starting $5$ or $6$). sshd borrows that account's salt, and one is enough to make every passwordless account reachable.

Alpine says every release it checked is affected, from 3.16 to 3.24 and edge. Its official tiny-cloud images (the qcow2, VHD and AMI builds from 3.18.11 to 3.24.3) ship an alpine user with no password and passwordless doas. They are safe on first boot, but become exploitable the moment any account gets a password hash, for example when an admin sets a console password.

Alpine is not the only place this lives. The researcher's site, sshhole.com, names OpenWrt, Buildroot and Yocto as well as many Docker images, and a medical-device security company, Medcrypt, told the oss-security list on 9 November that it had reproduced the bypass on a stock Yocto image. That means routers, appliances and embedded devices may be exposed, and those are often the machines nobody scans with credentials. (The device examples are from those two sources; check with each device's vendor.)

Who is not exposed

  • Red Hat Enterprise Linux and all Red Hat products. Red Hat says it builds OpenSSH against glibc with PAM on by default, so its products are not affected.
  • Ubuntu. Ubuntu's CVE page lists its openssh package as not affected on every release from 14.04 to 26.10.
  • Debian's own packages. Debian's tracker notes that its built binary packages are not affected and rates the issue unimportant, even though its version table still marks bookworm and trixie as vulnerable.
  • Containers that do not run sshd, systems with PasswordAuthentication no, Alpine systems using openssh-server-pam with UsePAM yes, and cloud images set up by cloud-init, which writes PasswordAuthentication no.

Why your scan results may say you are vulnerable anyway

NVD's configuration for this CVE matches every OpenSSH version before 10.6p2. A check that reads the version from the SSH banner and compares it with that range cannot see the C library, the PAM setting, the password setting or the accounts on the machine. So it flags three kinds of host the same way:

How a version-only check treats different hosts
HostWhat a version check seesReally exposed?
Ubuntu or Red Hat server on OpenSSH 9.xOlder than 10.6p2: vulnerableNo. Both vendors say not affected.
Alpine 3.24 server with the fixed package (10.3_p1-r2)OpenSSH 10.3: older than 10.6p2, vulnerableNo, once sshd has been restarted.
Alpine 3.24 server on an older package, password logins onOpenSSH 10.3: vulnerablePossibly, depending on its accounts.

Debian's tracker shows the same effect in public: its version table lists bookworm and trixie as vulnerable, while its note says Debian's binaries are not affected. Version data alone tells you which hosts to look at. It does not tell you which ones are open.

How to check a host in five minutes

Run these on the host itself (as root, so you can read /etc/shadow). Each answer either clears the host or moves it one step closer to exposed. (Our advice, built from the conditions in Alpine's advisory.)

  1. Which C library is sshd using? Run ldd $(command -v sshd). A line with ld-musl means musl; libc.so.6 means glibc, and the host is not affected by this CVE.
  2. Is PAM in use? Run sshd -T | grep -i usepam. usepam yes with a PAM-enabled build clears the host. On Alpine, also check which package is installed with apk info -e openssh-server openssh-server-pam.
  3. Are password logins on? Run sshd -T | grep -i passwordauthentication. passwordauthentication no clears the host.
  4. Which accounts have no password, and does any account have one? Run awk -F: '$2=="*" {print $1}' /etc/shadow for the passwordless accounts and awk -F: '$2 ~ /^\$[56]\$/ {print $1}' /etc/shadow for accounts with a password hash. You need at least one of each to be exposed.
  5. Is the fixed package installed and running? Run apk info -v openssh-server (or openssh-server-pam) and compare it with the table below, then make sure sshd was restarted after the upgrade.

Save the output with the date and the host name. If the host is clear, that output is your evidence for marking the finding as not affected. Our guides to false positives in vulnerability scans and risk acceptance show how to record that decision so it survives the next audit. For devices where you cannot get a shell, such as routers and appliances, ask the vendor whether the firmware uses musl without PAM and when a fixed build is coming.

How to fix it

Upstream, the fix is OpenSSH 10.6p2. Alpine has patched the OpenSSH version each of its branches already ships, so the package number on a fixed Alpine host is often lower than 10.6. These are the fixed versions from Alpine's advisory. Alpine has published them all the way back to 3.16, even for releases that no longer get regular updates.

Fixed openssh package versions by Alpine branch, from Alpine's advisory of 5 November 2026
Alpine branchFixed openssh version
edge10.6_p2-r0
3.2410.3_p1-r2
3.2310.2_p1-r1
3.2210.0_p1-r11
3.219.9_p2-r1
3.209.7_p1-r6
3.199.6_p1-r3
3.189.3_p2-r4
3.179.1_p1-r7
3.169.0_p1-r6
  1. Update: apk upgrade -U -a. Alpine 3.21.10, 3.22.8, 3.23.8 and 3.24.4 contain the fixed package.
  2. Restart sshd: rc-service sshd restart. Alpine stresses that upgrading the package does not replace the sshd that is already running.
  3. If you cannot update yet, turn off password logins. Set PasswordAuthentication no and restart sshd. Before you do, make sure key logins work and keep your current session open until a new login succeeds. Alpine's advisory has a ready-made set of commands for this.
  4. Rebuild images, not just running machines. Container images and cloud images built before the fixed point releases still carry the old package. Update the base image and rebuild. (Our advice.)

How to tell if someone already got in

Alpine's advice is to look in /var/log/messages for sshd lines reading Accepted password for an account that has no password, such as alpine, root or any key-only user. Then review doas use, recently created users, new files and changes to authorized_keys on any exposed machine. If you cannot rule out a login, Alpine says to treat the machine as compromised.

Remember the timeline: public exploit code appeared on 5 November and GreyNoise saw the first successful attack on 7 November. Any exposed host that kept password logins on after that deserves a log review, even if it is patched now. Our guide to the first 48 hours after a critical CVE has a fuller checklist. (Our advice.)

How to report it to clients

A finding like this is easy to get wrong in a report in both directions: a page of red for servers that were never at risk, or a quiet close that misses the one Alpine box. A short routine that works with whatever scanner you use:

  1. List every host flagged for CVE-2026-123158 and group them by operating system.
  2. Clear the glibc hosts with evidence, such as the vendor statement plus the ldd output from one host of each build, and say so in plain words.
  3. Fix or switch off password logins on the musl hosts, and record the package version and the restart.
  4. Rescan and compare. The difference between the two scans is your proof of fix.

Varaxon Scan Hub handles the bookkeeping part: it reads exports from any scanner, flags anything on CISA's KEV list, compares each rescan with the last one and turns the result into a client-ready report. It does not log in to your hosts or patch them for you. You can look up the current KEV and EPSS status of this or any CVE with our free CVE checker.

Common questions

Is CVE-2026-123158 being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 9 November 2026, and GreyNoise saw the first successful exploitation of one of its sensors on 7 November. Its EPSS score was 89.6% on 3 December 2026.

Are Ubuntu, Debian and Red Hat affected by SSHole?

Not by their own OpenSSH packages, according to each vendor. Red Hat says its builds use glibc with PAM, Ubuntu lists every release as not affected, and Debian notes its binary packages are not affected. A scanner may still flag them because their OpenSSH version is older than 10.6p2.

Which OpenSSH version fixes CVE-2026-123158?

Upstream, OpenSSH 10.6p2, released on 5 November 2026. On Alpine, install the fixed package for your branch (for example 10.3_p1-r2 on 3.24) and restart sshd. The banner on a fixed Alpine host can still show a version below 10.6.

Does turning off password authentication protect me?

Yes. Alpine lists PasswordAuthentication no as a working stopgap until you can update. Make sure key logins work before you change it, and restart sshd afterwards.

Why is my patched Alpine server still flagged?

Alpine fixed the bug by patching the OpenSSH version each branch already ships, so the version in the SSH banner stays below 10.6p2. A check that only compares versions will keep flagging it. Record the package version and the sshd restart as your evidence.

Turn your next scan export into a client-ready report.

Run a free pre-flight check

Cookie preferences

Essential site functions remain available whichever option you choose. Your advertising choice is saved on this site. The Scan Hub has a separate choice.

Google and Reddit may receive cookies, identifiers, browser and device information, and your network/IP information. Reject or withdraw at any time. Read the Privacy Policy.