The OpenSSH sshole flaw, CVE-2026-123158, lets a remote attacker log in to some accounts on Linux systems that run sshd on musl libc without PAM. OpenSSH 10.6p2, released on 5 November 2026, fixes it. Alpine Linux is the example the CVE record names, and Synology says none of its products are affected.
OpenSSH calls the fix a critical security workaround and says it considers the root cause to be outside sshd. The CVE record scores the flaw 8.1 on CVSS 3.1 (High), with no CVSS 4.0 score in the record or NVD. NVD listed the record as Received on 6 November 2026.
What Is the OpenSSH Sshole Flaw and Who Is Exposed?
Alpine’s advisory explains the mechanism. Without PAM, sshd checks a password by hashing it with the C library’s crypt function and comparing the result with the stored field. On musl, crypt returns a single star when the password is over 256 bytes, and a star is also what the stored field holds for an account with no password. The CVE record says that for some account configurations, any password between 256 and 1024 characters succeeds.
Alpine and the researcher, Özgün Kültekin of Wakefield, give 257 to 1024 bytes, while the CVE record says 256 to 1024 characters. Alpine lists four conditions that must all be true:
- sshd runs without PAM, which is how the Alpine openssh-server package is built, or with UsePAM set to no.
- PasswordAuthentication is yes, which is the OpenSSH default.
- An account has a star as its password field, as root does on Alpine since about release 3.16, as do key-only users.
- At least one other local account has a $5$ or $6$ password hash.
Alpine says systems are not exposed when PasswordAuthentication is no, when openssh-server-pam runs with UsePAM yes, or when an account is locked with an exclamation mark. The researcher says glibc systems, PAM setups, Dropbear and OpenBSD are fine. The researcher names Alpine, OpenWrt, Buildroot and Yocto as musl platforms, so confirm whether your own build uses PAM.
Synology published Synology-SA-26:16 on 6 November 2026 and rates its products Not affected. It lists DSM 7.4 and 7.3, SRM 1.3 and 1.2, APM 2.0 and 1.2, and BeeStation OS 1.5. CISA’s entry in the CVE record lists exploitation as proof of concept, and the flaw is not in the CISA KEV catalogue version 2026.11.04.
What Do StepSecurity and Horizon3 Say About Exploitation?
StepSecurity reproduced the bypass in a lab on 6 November 2026, using an Alpine 3.24 virtual machine and a Docker container with the pre-fix OpenSSH package. It confirmed the published trigger: a password of 257 bytes or more succeeds only on the second or later attempt in the same connection, never the first. StepSecurity says the original disclosure and vendor advisories do not report confirmed exploitation in the wild, and that public proof-of-concept code means scanning should be expected.
Horizon3 also covers this CVE and offers a NodeZero test to check exposure to it. Horizon3’s page states that public proof-of-concept code exists and that exploitation in the wild has been confirmed, without detailing how it reached that finding. CISA’s own exploitation field in the CVE record, cited above, lists this flaw as proof of concept only, agreeing with StepSecurity.
Update, 9 November 2026. SANS ISC says its honeypots, which run Cowrie, began seeing long, sshole-style passwords on 1 November. The daily count then rose sharply, peaking at 713 requests on 6 November before easing to 51 by 8 November. It says the first attempt that matches the actual exploit arrived on 5 November, using a password made only of the letter A.
Which Versions Fix the Sshole Bug?
Upstream, the record lists OpenSSH before 10.6p2 on Linux as affected. Alpine published fixed packages for every branch back to 3.16, including releases that no longer get regular updates.
| 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 |
| 3.18 | 9.3_p2-r4 |
| 3.17 | 9.1_p1-r7 |
| 3.16 | 9.0_p1-r6 |
Alpine says its point releases 3.21.10, 3.22.8, 3.23.8 and 3.24.4 contain the fixed package. Upgrading the package does not restart a running sshd, so restart the daemon afterwards.
What Should You Do Now?
Steps 2 to 5 follow Alpine’s advisory. The first step is our advice.
- List musl hostsFind Linux hosts built on musl, such as Alpine, OpenWrt, Buildroot and Yocto images, and check whether their sshd uses PAM.
- Update and restartInstall OpenSSH 10.6p2 or your distribution’s fixed package from the table, then restart sshd so the running daemon is replaced.
- Close the door if you cannot updateSet PasswordAuthentication to no and restart sshd. Alpine says to confirm key login works in a second session first.
- Review past loginsLook in the system log for sshd lines reading Accepted password for an account that has no password, such as root or a key-only user. Alpine says to treat a machine as compromised if you cannot rule a login out.
- Rebuild old cloud imagesAlpine’s tiny-cloud images from 3.18.11 through 3.24.3 ship an alpine user with passwordless doas, so update running instances.
This is a different flaw from the older regreSSHion race condition in OpenSSH, which OpenSSH says affected non-OpenBSD systems. For the controls behind these steps, see patch management, the valid accounts technique and exploiting public-facing applications.
Linux defenders should also track kernel-level privilege boundaries. CVE-2026-43284 can let a low-privileged local attacker corrupt sensitive file data and gain root privileges.
For the affected configuration and branch-specific package checks, see the CVE-2026-123158 OpenSSH vulnerability profile.
Frequently Asked Questions
Does the sshole bug affect Debian, Ubuntu or Fedora?
The researcher says glibc systems and PAM setups are fine. The CVE record names musl libc without PAM, with Alpine Linux as its example.
Which OpenSSH version fixes CVE-2026-123158?
OpenSSH 10.6p2, released on 5 November 2026. Alpine also ships fixed packages for each branch from 3.16 to edge.
Is a Synology NAS affected?
No. Synology-SA-26:16 of 6 November 2026 lists DSM 7.4 and 7.3, SRM 1.3 and 1.2, APM 2.0 and 1.2, and BeeStation OS 1.5 as Not affected.
What if I cannot update today?
Alpine says to set PasswordAuthentication to no and restart sshd. Make sure key login works in a second session before you close the first.
Has CVE-2026-123158 been exploited in the wild?
StepSecurity says the sources it reviewed as of 6 November 2026 do not report confirmed exploitation in the wild. Horizon3's page on the same CVE states that exploitation in the wild has been confirmed, without saying how it reached that conclusion. CISA's own exploitation field in the CVE record lists it as proof of concept only, agreeing with StepSecurity.
Sources
- OpenSSH release notes, 10.6p2, 5 November 2026
- CVE record for CVE-2026-123158
- NVD record for CVE-2026-123158
- Alpine Linux security advisory, openssh-server password authentication bypass
- Researcher write-up by Özgün Kültekin, Wakefield
- Synology-SA-26:16, OpenSSH (sshole)
- CISA Known Exploited Vulnerabilities catalogue, version 2026.11.04
- StepSecurity, CVE-2026-123158 (*sshole): OpenSSH Password Authentication Bypass on Alpine Linux (6 November 2026)
