> ## 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.

# OpenSSH 'SSHole' Vulnerability Allows Unauthenticated Access on Alpine Linux
- URL: https://www.stirup.si/openssh-sshole-vulnerability-allows-unauthenticated-access-on-alpine-l-bebdcd84/
- Published: 2026-11-16T23:30:25.000Z
- Updated: 2026-11-16T23:30:25.000Z
- Description: A vulnerability in OpenSSH, CVE-2026-123158, allows unauthenticated attackers to bypass authentication on Alpine Linux systems using oversized passwords due to musl C library and disabled PAM.
- Author: Satish Das
- Tags: Development, News, Stirup Research

## Vulnerability Details and Affected Systems

A recently disclosed vulnerability in OpenSSH, named 'SSHole' and tracked as CVE-2026-123158, allows unauthenticated attackers to bypass authentication mechanisms on affected systems. The flaw impacts Linux distributions that use the musl C library and have PAM (Pluggable Authentication Module) disabled. Specifically, the server must be running OpenSSH before version 10.6p2 and built against musl rather than glibc. Alpine Linux is the most prominent distribution affected, as it uses musl by default and its OpenSSH configuration does not enable PAM. The vulnerability enables attackers to log into accounts with no usable password by supplying an oversized password (257–1,024 bytes), which causes a hash failure and returns an asterisk matched against the account's stored '\*' password field. The CVSS score for this vulnerability is 8.1, according to the source.

## Technical Explanation of the Flaw

The vulnerability stems from how OpenSSH handles password authentication when using the musl C library. Specifically, when an account has no password hash—marked by an asterisk in /etc/shadow—OpenSSH borrows a salt from another account with a valid hash and proceeds to hash the provided password. This approach was introduced in 2016 to mitigate a timing attack (CVE-2016-6210) that could reveal the existence of usernames. However, a change in musl in 2012 caused crypt() to return an asterisk instead of NULL when no password hash was present. Combined with a 256-byte limit on SHA-512 password hashing, this led to unexpected behavior. If a system has at least one account with a SHA-256 or SHA-512 hash and another with an asterisk, an attacker could exploit this to bypass authentication. The flaw was traced to these two musl changes and the 2016 OpenSSH update.

## Exploitation and Real-World Impact

Within nine hours of the CVE-2026-123158 disclosure, a threat actor from IP 89.116.89\[.\]18 exploited the OpenSSH SSHole authentication bypass on an Alpine Linux honeypot, gaining unauthenticated root access by supplying an oversized password to a password-disabled account. By submitting a password between 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, as observed in attack path analysis. According to a source, the first observed attempt arrived less than nine hours after CVE publication, and successful root access was confirmed on a Previdian honeypot running real Alpine Linux and OpenSSH. The observed source IP used oversized passwords to bypass authentication and ran reconnaissance commands through non-interactive SSH sessions. With Shodan listing around 22 million systems with SSH open on port 22, and the real number likely higher, each attempt is a single connection, allowing attackers to try all of them.

## Mitigation and Recommendations

Alpine Linux users are advised to take immediate steps to mitigate the OpenSSH authentication flaw. Administrators should update to OpenSSH 10.6p2, restart the service, and ensure that password authentication is disabled where unnecessary, as recommended by Alpine Linux and security experts. According to the Alpine Linux team, the vulnerability allows unauthorized access through a single connection, requiring no retries. For organizations with internet-facing SSH services, the immediate action is to apply the patch and disable password-based authentication as a temporary mitigation, as noted by WatchTowr’s head of threat intelligence, Jake Knott. Additionally, administrators should verify whether SSH servers are built against musl and check if PAM is disabled, as these factors may influence the vulnerability’s impact. The rapid exploitation of the flaw highlights the importance of timely patching for systems exposed to the internet.

## Broader Security and Compliance Implications

The SSHole vulnerability, identified as CVE-2026-123158, has significant implications for security and compliance across multiple industries. According to evidence from honeypots, the flaw was exploited within hours of disclosure on default Alpine Linux configurations, highlighting the urgent need for automated patch deployment and exposure monitoring. This aligns with requirements under the NIS2 directive, which mandates robust security risk management frameworks. In financial services, the vulnerability poses a direct threat to PCI DSS 4.0 compliance by risking unauthorized SSH root access, which could compromise deployment credentials and application secrets. Similarly, in health care and life sciences, unauthenticated privilege escalation on musl-based systems could lead to HIPAA violations through lateral movement into clinical infrastructure. Compliance frameworks such as DORA and CISA’s Zero Trust Maturity Model 2.0 emphasize the necessity of continuous vulnerability intelligence and rapid patching processes, especially for internet-facing SSH services in containerized environments. Organizations must ensure timely remediation to avoid non-compliance and mitigate potential breaches.

## Sources and reporting notes

- [InfoQ](https://www.infoq.com/news/2026/11/alpine-linux-openssh-sshhole/?utm%5Fcampaign=infoq%5Fcontent&utm%5Fsource=infoq&utm%5Fmedium=feed&utm%5Fterm=global)
- [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)
- [helpnetsecurity.com](https://www.helpnetsecurity.com/2026/11/06/openssh-sshole-cve-2026-123158-exploitation/?ref=stirup.si)

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