> ## 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 Unauthorized Root Access
- URL: https://www.stirup.si/openssh-sshole-vulnerability-allows-unauthorized-root-access-12404fdb/
- Published: 2026-11-07T18:04:44.000Z
- Updated: 2026-11-07T18:04:44.000Z
- Description: A vulnerability in OpenSSH, tracked as CVE-2026-123158, allows attackers to bypass password authentication and gain root access on systems using musl libc with PAM disabled.
- Author: Satish Das
- Tags: Security, Analysis, Stirup Research

## Vulnerability Details and Discovery

The vulnerability, tracked as CVE-2026-123158 (CVSS score: 8.1) and codenamed SSHole (or \*sshole), impacts Linux systems that run OpenSSH on the musl C library with Pluggable Authentication Modules (PAM) disabled, including Alpine Linux's default OpenSSH server configuration. The issue, discovered by security researcher Ozgun Kultekin, has been addressed in OpenSSH 10.6p2\. The underlying issue dates back to a patch introduced in 2016 to fix a username enumeration vulnerability tracked as CVE-2016-6210\. 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. An attacker can trigger the vulnerability to authenticate to certain password-disabled accounts using an arbitrary password between 257 and 1,024 bytes long, causing the hash attempt to fail and returning an asterisk. The sshd daemon then compares with the asterisk stored in the account's password field, leading to a successful login.

## Exploitation and Real-World Impact

Threat intelligence firm Previdian reported that the first exploitation attempt of the OpenSSH SSHole flaw occurred less than nine hours after the CVE was published. The firm confirmed successful root access on a honeypot running Alpine Linux and OpenSSH. Telemetry data indicates eight exploitation attempts from an IP address geolocated to Japan. According to Ryan Dewhurst, founder and CEO of Previdian, the source IP, 89.116.89\[.\]18, used oversized passwords to bypass authentication and executed reconnaissance commands such as `id`, `uname`, and `hostname` through non-interactive SSH sessions. The attack path analysis shows that within nine hours of CVE-2026-123158 disclosure, a threat actor from the same IP exploited the flaw to gain unauthenticated root access on an Alpine Linux honeypot by supplying an oversized password to a password-disabled account.

## Technical Root Cause and Affected Systems

The technical root cause of the SSHole flaw stems from an interaction between OpenSSH’s password-handling behavior, musl libc, and Linux account configurations. Introduced in 2016 to address the username enumeration vulnerability (CVE-2016-6210), the patch modified how OpenSSH handles password hashes for accounts with no usable hash by borrowing another account’s salt. However, this change inadvertently created a condition where a failed password-hashing operation could be misinterpreted as a successful authentication attempt. Specifically, when musl’s crypt() function encounters SHA-256 or SHA-512 passwords longer than 256 bytes, it returns “\*” to indicate failure. OpenSSH then interprets this as a valid authentication result. This flaw affects systems using musl libc and Linux configurations that include accounts with no password set, such as key-only users, LDAP users, or root on Alpine. The vulnerability was quickly exploited by hackers within hours of disclosure.

## Mitigation and Patching Recommendations

Users running musl-based Linux systems without PAM should immediately disable PasswordAuthentication in their SSH configuration or disable SSH entirely to mitigate the vulnerability. OpenSSH 10.6p2, released on November 5, 2026, addresses the flaw, which allows attackers to bypass password authentication and gain root access. Alpine Linux pushed patched packages for all branches from 3.16 to edge on the same day. Security researcher Ozgun Kultekin discovered the issue, which affects systems using musl libc without PAM, including Alpine Linux’s default configuration. OpenSSH developer Damien Miller emphasized the urgency of the fix on Mastodon. Affected users should review doas use, recently created users, files, and authorized keys on exposed machines to detect potential exploitation. The vulnerability, tracked as CVE-2026-123158, has a CVSS score of 8.1, indicating a high severity.

## Sources and reporting notes

- [The Hacker News](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)
- [helpnetsecurity.com](https://www.helpnetsecurity.com/2026/11/06/openssh-sshole-cve-2026-123158-exploitation/?ref=stirup.si)
- [ox.security](https://www.ox.security/blog/openssh-authentication-bypass-cve-2026-123158/?ref=stirup.si)

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