A lot of small businesses run Linux in places they do not think about: a container that serves their website, a build server, a router, a small cloud instance picked because its image was tiny. If any of those run Alpine Linux and expose SSH, this week's OpenSSH fix is for you. On 5 November 2026 the OpenSSH project released 10.6p2 to fix CVE-2026-123158, nicknamed SSHole, and security firms say attackers moved quickly. We have not tested the flaw, and this article leaves out how to trigger it.
SSH is how most Linux servers are managed, so a login flaw there is worth a quick audit. Photo: Derrick Coetzee, CC0, via Wikimedia Commons
The short answer
- What it is: an OpenSSH sshd authentication bypass on musl libc without PAM, tracked as CVE-2026-123158 with a CVSS 3.1 score of 8.1 per the CVE record.
- Who is exposed: Alpine Linux's default OpenSSH server and other musl-based systems with the settings below. glibc distributions, PAM-enabled sshd, Dropbear and non-Linux systems are not affected.
- Impact: sign-in as an account that has no usable password, including root or a key-only deploy user, without stealing a credential.
- Exploitation: reported within hours by Previdian via The Hacker News, including a confirmed root login on a honeypot.
- Fix: OpenSSH 10.6p2 or your distribution's patched package, then restart sshd.
What the sources say
The CVE record, published by MITRE and mirrored by NVD on 5 November 2026, says that sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentication bypass related to misinterpreting whether a string is a password hash. For some account configurations, an overlong password succeeds. It names Alpine Linux as an example platform and the weakness as CWE-394, unexpected status code or return value.
Orca Security's research note explains the cause in general terms. musl's password-hashing function returns an asterisk when it fails, and locked or key-only accounts also store an asterisk in their password field. When sshd checks passwords itself, without PAM, a password that makes hashing fail can produce a value that matches the stored asterisk, and the login is accepted. The Hacker News adds that the underlying behavior traces to a 2016 change meant to fix a username-enumeration bug, and credits the discovery to researcher Ozgun Kultekin.
Orca lists the conditions that must all hold for a system to be affected: sshd built without PAM, or running with UsePAM set to no, on musl libc; password authentication on, which is the default; at least one account with an asterisk as its password field; and at least one local account with a SHA-256 or SHA-512 hash. It names exposed accounts such as root on Alpine 3.16 and later, key-only service and deploy users, directory-backed users, and the default user in tiny-cloud images that has passwordless doas.
On exploitation, the sources differ because they were written at different times. Orca's note, published on 5 November, said no exploitation in the wild had been reported yet. The Hacker News, on 6 November, reports that Previdian observed the first attempt less than nine hours after the CVE was published, eight attempts in total from a single address, and a confirmed root login on an Alpine honeypot, with the attacker running basic reconnaissance commands. Safe Security, quoted in the same article, notes that the damage depends on the compromised account's privileges and that attackers may then reach deployment credentials and application secrets. We treat exposed, unpatched hosts as a priority.
Why this matters to a small business
You may not run Alpine on purpose. It is popular as a base image for containers because it is small, so it can be inside a Docker image someone built for you, a router or embedded device firmware, or a vendor appliance. The issue only matters if that environment runs an SSH server, which many containers do not. That is the point of the first task below: find out, don't assume.
The risk is also disproportionate to its complexity. The attacker needs no stolen password or key, just network access to the SSH port and a vulnerable setup. If the host can reach your database or cloud credentials, a root login is the start of a larger problem.
What to do this week
- List your Linux hosts and images. Include cloud servers, containers, routers and appliances. For each, note the distribution and the C library. Alpine and OpenWrt use musl.
- Find which ones run sshd. A container that does not run an SSH server is not exposed through this flaw.
- Check the settings. Look for sshd built without PAM and for password authentication being on.
- Patch. Install OpenSSH 10.6p2 or your distribution's patched package. Orca lists Alpine packages for each release: 10.6_p2-r0 on edge, 10.3_p1-r2 on 3.24, 10.2_p1-r1 on 3.23, 10.0_p1-r11 on 3.22, 9.9_p2-r1 on 3.21 and 9.7_p1-r6 on 3.20.
- Restart sshd. Orca stresses that upgrading the package does not replace the daemon that is already running.
- If you cannot patch yet, set PasswordAuthentication no, which Orca says closes the hole, and confirm key-based login still works before you close your session.
- Check the logs. Alpine advises searching /var/log/messages for sshd lines reading Accepted password for accounts that should have no password.
- Review for signs of a break-in. Look at doas use, recently created users and files, and authorized keys. Alpine says to treat a machine as compromised if you cannot rule out a login.
- Rotate secrets on any suspect host. Change deployment keys, application secrets and cloud credentials it could reach.
- Reduce SSH exposure for good. Put SSH behind a VPN or an allow-list, and prefer keys only. Our custom software development team can help you tidy server access, and you can talk to us.
This is another case where speed matters, which our post on why faster AI bug-hunting means a faster patch routine argues in more detail. For a related Linux server fix this week, see the Linux kernel TCP flaw CVE-2026-98432.
Common mistakes to avoid
- Upgrading and not restarting. The old sshd process keeps running with the old code.
- Assuming "we use Ubuntu" means safe everywhere. The container image on top may be Alpine.
- Assuming a locked account is a safe account. In the vulnerable setup, that is exactly the kind of account exposed.
- Closing your own session before testing key login. If you switch off password login, test keys from a second window first.
- Only checking the host, not the images. Rebuild and redeploy images that include the old OpenSSH.
Checklist
- List all Linux hosts, containers and appliances and note the distribution.
- Mark every system that uses musl libc, such as Alpine or OpenWrt.
- Find which of them run sshd and are reachable from the internet.
- Install OpenSSH 10.6p2 or the distribution's patched package.
- Restart sshd on every patched system.
- Rebuild and redeploy container images that bundle sshd.
- Set PasswordAuthentication no where you cannot patch immediately.
- Search logs for Accepted password lines on accounts that have no password.
- Review users, authorized keys and recent files on exposed hosts.
- Rotate keys and secrets on any host you cannot clear.
- Restrict SSH access to a VPN or allow-list.
Key takeaways
- CVE-2026-123158 (SSHole) is an OpenSSH login bypass on musl libc without PAM, rated CVSS 8.1 and fixed in 10.6p2.
- It affects Alpine's default OpenSSH server and possibly other musl systems, not glibc distributions, PAM-enabled sshd or Dropbear.
- The Hacker News reports exploitation attempts within nine hours and a confirmed root login on a honeypot, so exposed hosts are a priority.
- Patch, then restart sshd, because the package upgrade alone does not replace the running daemon.
- Check logs for password logins to accounts that should have none, and treat unclear cases as compromised.
- Know what runs inside your container images, since small base images like Alpine are common.



