By Hamza Faisal

A flaw in OpenSSH that sat unnoticed for around a decade is now being exploited in the wild, and the attack is comically simple: type a password longer than 256 characters, and the server lets you in. The vulnerability, dubbed SSHole and tracked as CVE-2026-123158, hands remote attackers a way into password-disabled accounts on Alpine Linux systems — and from there, in many setups, straight to root.

The flaw was disclosed on November 5, 2026, by security researcher Özgün Kültekin of testing firm Wakefield. OpenSSH maintainers moved fast, shipping an emergency fix in Portable OpenSSH 10.6p2 the same day, and Alpine Linux released patched packages across its supported branches.

A one-character mistake, ten years in the making

The bug is not really in OpenSSH at all. It lives in musl, the lightweight C library that Alpine Linux uses instead of glibc. When musl's crypt() function is handed a password longer than 256 bytes, it fails and returns the single character "*" to signal the error. That would be harmless on its own — except that accounts with no password set often store exactly "*" in the password field of /etc/shadow. OpenSSH compared the two strings, found them equal, and accepted the login.

The result: on an affected system, any password between 257 and 1,024 characters long is accepted for a password-disabled account. The flaw only bites when several conditions line up — the server must run on a musl-based system, OpenSSH must be built without PAM support, password authentication must be enabled, and the attacker must know the name of an account whose password is disabled. On Alpine Linux, those conditions are met out of the box: its standard OpenSSH package is built without PAM, and password logins are enabled by default.

It gets worse on Alpine's official cloud images, versions 3.18.11 through 3.24.3. Their default user, named "alpine", is one of the password-disabled accounts — and the images grant that user passwordless doas privileges, meaning an attacker who logs in as that user can switch straight to root.

Exploitation began within hours

Threat intelligence firm Previdian reported observing exploitation attempts less than nine hours after the vulnerability was publicly disclosed. Its sensors recorded eight attempts from a single source IP, including successful root access against an instrumented Alpine Linux honeypot running OpenSSH. Germany's CERT-Bund has issued an advisory confirming that a remote, anonymous attacker can use the flaw to escalate to administrator rights.

The exposure is potentially wide. Alpine Linux is the base image of choice for a huge share of Docker containers and lightweight cloud servers, precisely because it is small and fast. Any of those systems running an unpatched OpenSSH server with its default configuration is a target, and exploitation requires nothing more than network access to the SSH port — usually port 22. Systems running Debian, Ubuntu, Fedora or other glibc-based distributions are not affected, and neither are servers using alternative SSH implementations such as Dropbear.

The fix is straightforward: upgrade to OpenSSH 10.6p2 or install the patched Alpine packages and restart the SSH service. Administrators who cannot patch immediately should disable password authentication entirely and rely on key-based logins instead.

A reminder that defaults are decisions

SSHole is a reminder that the most dangerous vulnerabilities are not always the most complex. No memory corruption, no clever exploit chain — just an error value that happened to match a placeholder, in a configuration that millions of systems ship by default.

For Alpine users, the message is simple: patch now, or turn off password logins. The attackers, as Previdian's honeypot showed, are already knocking.