OpenSSH — Active Exploitation of the SSHole Vulnerability Yields Root Access on Honeypots (CVE-2026-123158)
Publication date: November 6, 2026
Category: Vulnerability / Cyber Attack
Introduction
Cybersecurity researchers have detected active exploitation campaigns targeting a newly disclosed critical security flaw in the OpenSSH server, designated as SSHole and tracked under CVE-2026-123158. Initially discovered by security researcher Ozgun Kultekin, the vulnerability allows unauthenticated attackers to sign in to system accounts that do not have a usable password configured (such as accounts with passwords explicitly disabled via an asterisk placeholder). Less than nine hours after public disclosure, threat intelligence firms confirmed live exploitation attempts resulting in full root access on Alpine Linux-based honeypots.
What is SSHole? (General Analysis)
SSHole is a design and string-handling flaw within the OpenSSH daemon (sshd), specifically affecting versions prior to 10.6p2 when running on Linux operating systems utilizing the musl libc standard C library with Pluggable Authentication Modules (PAM) disabled. This configuration profile is standard in lightweight, container-oriented, and minimalist environments, most notably Alpine Linux.
The severity of the issue lies in the fact that an unauthenticated remote attacker can manipulate the password validation process by supplying oversized passwords, achieving unauthorized access matching the compromised account’s privileges without needing to steal SSH keys or prior credentials.
- Primary CVE: CVE-2026-123158 (Verified in NVD)
- CVSS v3.1 Score: 8.1 (HIGH) —
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H(Official NVD Data) - CWE Classification: CWE-394 (Improper Control Flow Generation or Validation Mismatch) (Official NVD Data)
- CISA KEV Catalog: Not reported (Official NVD Data)
Additionally, the underlying issue dates back historically to a 2016 patch tracked under CVE-2016-6210 (CVSS 5.9, CWE-200), which was originally introduced to mitigate timing-based user enumeration attacks.
How Does It Work? (Technical Analysis)
The vulnerability mechanism involves a discrepancy in how OpenSSH handles password hashing operations and error states under musl libc architectures without PAM:
- Infection Flow and Exploit Entry: The attacker submits an arbitrary, oversized password specifically ranging between 257 and 1,024 bytes in length.
- Algorithmic Flaw Mechanism: Under the affected conditions, the password hashing operation fails in a specific manner due to interaction with musl libc. The software mistakenly interprets the failed operation as a successful authentication, internally yielding the exact asterisk (
*) value conventionally used at the OS level to indicate disabled passwords. - Comparison and Session Success: The
sshddaemon compares the generated output against the asterisk stored in the target account’s password field. Because the values match, the system incorrectly grants login access. - Post-Exploitation Reconnaissance: Once inside the system via non-interactive SSH sessions, threat actors execute basic native OS reconnaissance commands such as
id,uname, andhostname, as captured in initial telemetry originating from IP address89.116.89[.]18.
Affected Systems / Environments
The vulnerability is scoped to specific software configurations rather than affecting all deployments universally:
- Affected Systems: OpenSSH servers prior to version
10.6p2running on Linux distributions powered by musl libc (e.g., Alpine Linux) with PAM disabled. - Unintended Targets / Unaffected Systems: Distributions utilizing glibc, systems verifying credentials via PAM, non-Linux operating systems (such as BSD or macOS), and alternative implementations like Dropbear.
Summary of Involved CVEs
| CVE | Category (CWE) | Impact | CVSS | Vector (summarized) |
|---|---|---|---|---|
| CVE-2026-123158 | CWE-394 | Unauthorized access execution and potential root escalation | 8.1 (High) | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CVE-2016-6210 | CWE-200 | User enumeration via timing analysis | 5.9 (Medium) | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Mitigation and Detection
Remediation
- Software Update: Immediately upgrade OpenSSH to version
10.6p2or apply the respective patched package provided by your Linux distribution maintainer. - Service Restart: Following the upgrade, restart the SSH service daemon (
sshd) to enforce changes. - Hardening and Verification: Audit system account configurations to ensure critical accounts do not rely on disabled password placeholders or weakened PAM settings when utilizing musl libc.
Detection
Blue Teams should actively audit operating system logs to detect anomalous successful logins targeting service or administration accounts.
- Log Searching: Inspect
/var/log/messagesor system logging utilities for specific authentication patterns:
grep "Accepted password for" /var/log/messagesOperational Focus: Validate any log entries reading Accepted password for involving accounts that should never accept password logins (such as key-only users, system accounts like root, or generic container accounts like alpine).
- Integrity Auditing: Inspect the usage of privilege escalation utilities (
doas), review recently created user accounts, check for unexpected file modifications, and audit authorized keys (authorized_keys) across exposed machines.
Operational Warning: If unauthorized logins under the described conditions cannot be definitively ruled out, organizations must treat the machine as fully compromised and execute incident response containment and forensic isolation procedures.
Wrapping Up
The rapid exploitation of the SSHole vulnerability (CVE-2026-123158) within hours of public disclosure highlights the swift operationalization of core infrastructure flaws by threat actors. By targeting OpenSSH components within minimalist distributions like Alpine Linux, this incident illustrates that default configurations in containerized and lightweight environments remain prime vectors for initial access and privilege escalation. Immediate patching and rigorous authentication log monitoring are essential countermeasures to defend against such threats.
References
- Alpine Linux. (2026, November 5). OpenSSH password authentication bypass. Alpinelinux.org. https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/
- National Vulnerability Database. (2026). NVD - CVE-2026-123158. Nist.gov. https://nvd.nist.gov/vuln/detail/cve-2026-123158
- National Vulnerability Database. (2016). NVD - CVE-2016-6210. Nist.gov. https://nvd.nist.gov/vuln/detail/cve-2016-6210
- OpenBSD. (2026). OpenSSH 10.6p2 Release Notes. OpenSSH.org. https://www.openssh.org/releasenotes.html#10.6p2
- Previdian. (2026). Telemetry and Analysis on CVE-2026-123158. Previdian. https://previdian.com/CVE-2026-123158#telemetry
- Safe Security. (2026). SSHole: High-Severity OpenSSH Vulnerability Turns Disabled Passwords into Unauthorized Access. Safe.security. https://safe.security/resources/blog/sshole-high-severity-openssh-vulnerability-turns-disabled-passwords-into-unauthorized-access/
- SecLists. (2016). Full Disclosure - OpenSSH User Enumeration. Seclists.org. https://seclists.org/fulldisclosure/2016/Jul/51
- SOCRadar. (2026). SSHole OpenSSH Password Bypass on Alpine Linux. Socradar.io. https://socradar.io/blog/sshole-openssh-password-bypass-alpine/
- The Hacker News. (2026, November 6). Hackers Target OpenSSH SSHole Flaw Within Hours of Disclosure, Gain Root on Honeypot. The Hacker News. https://thehackernews.com/2026/11/hackers-exploited-openssh-sshole-flaw.html
- Ox Security. (2026). OpenSSH Authentication Bypass CVE-2026-123158. Ox.security. https://www.ox.security/blog/openssh-authentication-bypass-cve-2026-123158/