Hackers Are Exploiting the 'SSHole' OpenSSH Flaw on Alpine Linux
A high-severity OpenSSH bug nicknamed SSHole lets attackers walk straight past password authentication, and it was being exploited within hours of going public. The catch is that it only hits a specific kind of Linux, the kind that is quietly running inside a lot more of your stack than you think.
The flaw, tracked as CVE-2026-123158, affects OpenSSH on systems that use the musl C library rather than the more common glibc. When a login attempt uses an oversized password, musl's handling of a failed password check can return a value that OpenSSH reads as a match, so the login succeeds without the right credentials. It was fixed upstream in OpenSSH 10.6p2 on 5 November, and researchers at Previdian recorded the first real exploitation attempt less than nine hours after the CVE went public. The US Cybersecurity and Infrastructure Security Agency has now added it to its Known Exploited Vulnerabilities catalogue.
Why This One Is Sneakier Than It Looks
Most Australian businesses do not run Alpine Linux on their main servers, so it is tempting to tune out. That is the trap. In the client environments we look after, musl-based Alpine almost never shows up as a server someone chose on purpose. It shows up buried inside things: a stack of Docker containers behind an off-the-shelf app, the firmware on a cheap OpenWrt router, a build image cached in a CI pipeline that no one has rebuilt in months. Those are exactly the places a scheduled patch run tends to miss, because nobody wrote them down as "a Linux box".
There is a second trap. On Alpine, the OpenSSH version string does not change when the fix is backported, so checking the version number can tell you a patched box is still vulnerable, or the reverse. You have to verify against the vendor advisory, not the number the software reports.
What To Do Now
- Find your musl systems. List every Alpine host, OpenWrt device and Docker image in your environment that runs an SSH server. This is the hard part, and the whole point.
- Kill the quick win first. Set PasswordAuthentication no in sshd_config and restart SSH. That blocks the bypass straight away while you patch.
- Patch and restart. Upgrade to OpenSSH 10.6p2 or the patched Alpine package, then restart sshd so the running service actually uses the fixed binary.
- Rebuild your images. Rebuild Alpine-based containers from current repositories, and ask whether sshd needs to be in them at all.
CISA warns of active exploitation of OpenSSH and other flaws, The Hacker News
OpenSSH flaw exploited in the wild just hours after disclosure, Help Net Security
Frequently Asked Questions
Is my standard Ubuntu or Debian server affected by SSHole?
No. SSHole only affects systems that use the musl C library, such as Alpine Linux, OpenWrt with the OpenSSH package, and many lightweight Docker images. Mainstream servers running glibc, including Debian, Ubuntu, Red Hat and Fedora, are not vulnerable to this specific bug.
How do I know if I am running a vulnerable system?
Check whether any host or container runs Alpine Linux with the openssh-server package and password authentication enabled. Run apk info -v openssh-server to confirm the installed version. Do not trust the version string alone, because Alpine backports the fix without changing the number, so verify against the Alpine advisory revisions.
We only use Docker, not Alpine directly. Does this still matter?
Yes. A large share of public Docker images are built on Alpine, and some bundle an SSH server. If any of those images expose sshd, they can be exploited. Rebuild affected images from current repositories, and check whether sshd needs to be in the container at all.
What is the quickest way to shut this down right now?
Set PasswordAuthentication no in sshd_config and restart the SSH service. That blocks the bypass immediately while you roll out the patch. Then upgrade OpenSSH to 10.6p2 or the patched Alpine package and restart sshd so the running daemon uses the fixed binary.
Not sure what is running SSH in your business?
We will map the systems in your environment, confirm what is exposed, and patch the gaps before they become an incident.
Related Guide
Cybersecurity for Sydney SMBs
Explore our complete guide to protecting your business from cyber threats.
Read the Full Guide →
