> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# SSHole Vulnerability Allows Bypassing Authentication in OpenSSH
- URL: https://www.stirup.si/sshole-vulnerability-allows-bypassing-authentication-in-openssh-2d302e9d/
- Published: 2026-11-09T16:20:49.000Z
- Updated: 2026-11-09T16:20:49.000Z
- Description: A vulnerability in OpenSSH, known as SSHole, allows attackers to bypass authentication by using oversized passwords on musl-based Linux systems, including Alpine Linux.
- Author: Satish Das
- Tags: Security, Analysis, Stirup Research

## Vulnerability Details and Exploitation Mechanism

Disclosed by security researcher Ozgun Kultekin last week, SSHole allows bypassing authentication in OpenSSH running on certain musl-based Linux systems, including the lightweight Alpine distribution used in cloud and virtual environments. Under specific conditions, the password-handling behavior in OpenSSH mistakenly interprets a failed password-hashing operation as successful authentication by producing the same value (“\*”) used to indicate that an account with password disabled at the system level. By submitting an oversized password (257–1024 bytes) to an account with an asterisk (\*) password hash, the failed bcrypt operation returned '\*', which sshd matched against the stored hash, granting unauthenticated SSH login. A “misinterpretation of whether a string is intended to be a password hash” allows attackers to access certain accounts using any password that has between 257 and 1,024 characters. “The attacker needs the name of an account whose password field is \* (an account with no password set, which is normal for key-only accounts), and needs the machine to have at least one other account with a $5$ or $6$ password hash,” Alpine Linux warns. Since version 3.16, Alpine Linux uses “\*” to secure the root account, and $5$ or $6$ in password hashes show whether the SHA-256 or SHA-512 crypt was used.

## Timeline of Exploitation and Patch Release

On November 5, OpenSSH maintainers released version 10.6p2 to address the SSHole authentication bypass vulnerability (CVE-2026-123158), fixing the flaw that allowed attackers to bypass authentication using oversized passwords. Within four hours of the patch release, exploit code became available, according to [BleepingComputer](https://www.bleepingcomputer.com/news/security/hackers-exploit-sshole-openssh-flaw-to-breach-linux-systems/?ref=stirup.si). Shortly thereafter, on the same day, a threat actor from IP 89.116.89\[.\]18 exploited the vulnerability on an Alpine Linux honeypot, achieving unauthenticated root access by targeting a password-disabled account with an oversized password, as reported in [aviatrix.ai](https://aviatrix.ai/threat-research-center/hackers-exploited-openssh-sshole-flaw-cve-2026-123158/?ref=stirup.si). Cybersecurity firms confirmed exploitation attempts began on November 5, with successful breaches recorded the following day, per [BleepingComputer](https://www.bleepingcomputer.com/news/security/hackers-exploit-sshole-openssh-flaw-to-breach-linux-systems/?ref=stirup.si). Previdian noted the first exploitation attempt occurred less than nine hours after the CVE was published, and confirmed successful root access on a honeypot running Alpine Linux and OpenSSH, as stated in [thehackernews.com](https://thehackernews.com/2026/11/hackers-exploited-openssh-sshole-flaw.html?ref=stirup.si).

## Observed Exploitation and Attack Patterns

Researchers have observed 16 successful exploitation chains targeting networks protected by GreyNoise, with attacks originating from six source IP addresses linked to post-exploitation activity, according to [BleepingComputer](https://www.bleepingcomputer.com/news/security/hackers-exploit-sshole-openssh-flaw-to-breach-linux-systems/?ref=stirup.si). One observed source IP, 89.116.89\[.\]18, used oversized passwords to bypass authentication and executed reconnaissance commands like `id`, `uname`, and `hostname` through non-interactive SSH sessions, as noted by Ryan Dewhurst of Previdian in a statement shared with The Hacker News ([thehackernews.com](https://thehackernews.com/2026/11/hackers-exploited-openssh-sshole-flaw.html?ref=stirup.si)). The initial compromise involved exploiting CVE-2026-123158 (SSHole) against an Alpine Linux host running OpenSSH with musl libc and PAM disabled ([aviatrix.ai](https://aviatrix.ai/threat-research-center/hackers-exploited-openssh-sshole-flaw-cve-2026-123158/?ref=stirup.si)). Affected systems typically have password authentication enabled and at least one local account with a $5$ or $6$ password hash ([securityweek.com](https://www.securityweek.com/openssh-rushes-patches-for-sshole-authentication-bypass/?ref=stirup.si)). Despite the implant’s capabilities, including shell command execution and file transfer, it failed to reach its command-and-control (C2) server at ‘tac.vpnla\[.\]org,’ as reported in [BleepingComputer](https://www.bleepingcomputer.com/news/security/hackers-exploit-sshole-openssh-flaw-to-breach-linux-systems/?ref=stirup.si).

## Impact and Risk Assessment

The SSHole vulnerability in OpenSSH presents a significant risk to Linux systems, particularly those using musl-based distributions like Alpine Linux with PAM disabled. Successful exploitation requires an account with an asterisk (\*) as its password hash, according to security researcher Özgün Kültekin. This flaw allows unauthenticated attackers to gain shell access, potentially leading to root access if the compromised account has passwordless administrative privileges. The immediate impact includes unauthorized SSH access, which may enable attackers to access deployment credentials, application secrets, and connected infrastructure, increasing the risk of lateral movement or service disruption. The vulnerability does not affect Dropbear, glibc-based Linux distributions, or non-Linux systems. Enterprises must assess the privileges of compromised accounts, as the consequences depend on the level of access gained. The rapid exploitation of SSHole within nine hours of CVE publication highlights the need for continuous vulnerability intelligence and swift patching processes, especially in containerized environments using Alpine Linux.

## Mitigation and Recommendations

System administrators are urged to update OpenSSH as soon as possible or disable SSH password authentication on systems affected by the SSHole vulnerability, according to [BleepingComputer](https://www.bleepingcomputer.com/news/security/hackers-exploit-sshole-openssh-flaw-to-breach-linux-systems/?ref=stirup.si). Affected users should install OpenSSH 10.6p2 or their distribution's patched package and restart sshd, as noted in [thehackernews.com](https://thehackernews.com/2026/11/hackers-exploited-openssh-sshole-flaw.html?ref=stirup.si). Alpine Linux and musl-based systems running unpatched OpenSSH are particularly at risk, with potential for authentication bypass leading to unauthorized root access, as stated in [aviatrix.ai](https://aviatrix.ai/threat-research-center/hackers-exploited-openssh-sshole-flaw-cve-2026-123158/?ref=stirup.si). Alpine Linux has specifically advised users to apply the OpenSSH patches and restart sshd, or disable password logins and restart sshd, as outlined in [securityweek.com](https://www.securityweek.com/openssh-rushes-patches-for-sshole-authentication-bypass/?ref=stirup.si). Additionally, CISA's Zero Trust Maturity Model 2.0 emphasizes the need for continuous identity verification and enforcement of least-privilege access, as described in [aviatrix.ai](https://aviatrix.ai/threat-research-center/hackers-exploited-openssh-sshole-flaw-cve-2026-123158/?ref=stirup.si).

## Sources and reporting notes

- [BleepingComputer](https://www.bleepingcomputer.com/news/security/hackers-exploit-sshole-openssh-flaw-to-breach-linux-systems/?ref=stirup.si)
- [thehackernews.com](https://thehackernews.com/2026/11/hackers-exploited-openssh-sshole-flaw.html?ref=stirup.si)
- [aviatrix.ai](https://aviatrix.ai/threat-research-center/hackers-exploited-openssh-sshole-flaw-cve-2026-123158/?ref=stirup.si)
- [securityweek.com](https://www.securityweek.com/openssh-rushes-patches-for-sshole-authentication-bypass/?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.