A critical vulnerability in OpenSSH servers running on certain Linux configurations allows remote attackers to bypass authentication and access accounts where password login should be blocked, according to a CSO Online report published this week. The security flaw, which has existed undetected for a decade, affects systems built with the musl C library rather than glibc, including the widely deployed Alpine Linux distribution used in cloud Docker container images. The exploit requires nothing more sophisticated than transmitting an unusually long password to a vulnerable server.

The vulnerability, dubbed SSHole and tracked as CVE-2026-123158, was uncovered by Ozgun Kultekin, a researcher at security testing company Wakefield. OpenSSH maintainers issued an emergency update—version 10.6p2—on Thursday to mitigate the problem, though they maintain the bug doesn't originate in their codebase. The attack works only under specific conditions: the Linux distribution must use musl instead of glibc, ruling out popular server versions like Debian, Ubuntu, and Fedora; the system must run OpenSSH rather than alternative SSH implementations such as Dropbear; OpenSSH must be configured without Pluggable Authentication Modules (PAM) support; password-based authentication must be enabled; and the attacker must know the username of an account with password login disabled at the system level. These requirements are met by default in Alpine Linux, particularly with its built-in "alpine" username that can execute commands as root. Official Alpine cloud images published between versions 3.18.11 and 3.24.3 are vulnerable, and an attacker who logs in as the default alpine user can switch to root because the account has passwordless "doas" privileges.

"It's not every day that the 'exploit' for a vulnerability in a technology as prevalent as OpenSSH is just 'send a long password,'" said Jake Knott, head of threat intelligence at watchTowr, a preemptive exposure management firm. According to Knott, the exploit on affected systems is remarkably straightforward: transmit a password containing between 257 and 1,024 characters. The Alpine project released emergency patches for its openssh package and recommends that users who can't immediately update should turn off password-based authentication in the OpenSSH configuration and implement key-based authentication instead. Organizations should investigate whether the flaw has already been exploited by checking for "Accepted password" entries in /var/log/messages for accounts without passwords, such as root, key-only users, or the default alpine account—which Alpine says is a strong indicator of compromise.

The vulnerability emerged from three separate changes made years apart, each addressing a different issue. In 2012, musl developers limited password length to 256 bytes to prevent attackers from consuming server resources by submitting long passwords requiring computational hashing during login verification; they also configured the library's password hashing function to return an asterisk whenever it fails—the same character Unix has used since the 1980s to mark accounts where no password should ever validate. In 2016, OpenSSH modified its password verification process for accounts whose password field provided no salt for hashing, borrowing another account's salt to prevent attackers from identifying valid usernames through brute-force attempts and timing analysis of server responses. Then in 2022, Alpine changed root's password field to an asterisk to preserve SSH key login functionality. When an attacker submits an excessively long password for a password-disabled account on such a configuration, the hashing attempt fails and produces an asterisk, which sshd then compares against the asterisk stored in the account's password field—they match, and authentication succeeds.

Knott warned that internet-facing SSH servers already endure constant password guessing and brute-force attacks around the clock, and exploiting this vulnerability simply means those attackers add a very long password attempt to their existing lists. Unlike the critical regreSSHion flaw discovered in 2024, this vulnerability is limited to the musl ecosystem but requires no technical exploit engineering. Alpine recommends that organizations review doas usage, recently created users and files on exposed machines, and treat any server where unauthorized login can't be ruled out as fully compromised. Kultekin published a check script on GitHub that identifies vulnerable servers and lists at-risk accounts. The combination of trivial exploitation and decade-long exposure makes this a particularly urgent patch priority for Alpine deployments, especially cloud container infrastructures where the distribution's lightweight profile has driven widespread adoption. Docker environments running vulnerable Alpine images face immediate risk until administrators can verify updates or switch authentication methods.