Hackers Exploit OpenSSH “SSHole” Flaw (CVE‑2026‑123158) to Gain Root on Honeypot Within Hours
What It Is — A new vulnerability in OpenSSH, tracked as CVE‑2026‑123158 (CVSS 8.1), allows an attacker to authenticate to an account that has no password set when the OpenSSH daemon runs on Linux systems built with the musl C library and with Pluggable Authentication Modules (PAM) disabled. The flaw, dubbed “SSHole”, stems from the way OpenSSH validates the presence of a password when PAM is not in the authentication chain. If PAM is omitted, the daemon skips the password‑presence check, treating an empty password field as a successful authentication.
The issue was publicly disclosed on 11 November 2026 by security‑research firm Previdian. Within four hours, multiple threat actors began scanning the internet for vulnerable hosts, targeting cloud instances, container images, and on‑premise servers that use the musl‑based OpenSSH build. Researchers at Honeynet Project observed successful exploitation against a deliberately exposed honeypot, where the attackers achieved root‑level access in under two minutes after initial login.
Technical analysis shows the attack chain proceeds as follows:
- Discovery – The attacker enumerates SSH services and identifies the OpenSSH version and underlying C library via banner grabbing and version‑specific quirks.
- Verification – A crafted SSH client sends an authentication request with an empty password field. Because PAM is disabled, the server’s
auth-pam.croutine never validates the password, returning success. - Privilege Escalation – Once logged in as a low‑privilege user (often
sshuserornobody), the attacker leverages default sudo configurations or mis‑configuredsetuidbinaries to obtain a root shell. - Persistence – The adversary drops a back‑door SSH key into
~/.ssh/authorized_keysand modifies the SSH daemon configuration to allow password‑less logins for future sessions.
The exploit does not require a valid credential, a zero‑day payload, or a prior foothold. It is purely a logic error in the authentication flow. The vulnerability is in‑the‑wild, with multiple independent threat groups observed using the same technique. No official patch was available at the time of disclosure; OpenSSH maintainers released a security advisory on 12 November 2026 recommending users either re‑compile OpenSSH with PAM enabled or upgrade to the patched 9.4p2‑musl release that adds an explicit empty‑password check.
Affected Products – OpenSSH daemon (sshd) compiled against the musl C library with PAM disabled on any Linux distribution (including Alpine Linux, embedded devices, and container images) that runs versions prior to the 9.4p2‑musl patch.
Why It Matters for Trust & Control Assurance – The flaw bypasses a core authentication control that organizations rely on to enforce credential‑based access. It demonstrates how a missing or mis‑configured authentication component can invalidate an entire access‑control program, undermining audit evidence of “only authorized users can log in.” Capability focus: ACCESS_CONTROLS.
Recommended Actions
- Patch Immediately – Upgrade OpenSSH to version 9.4p2‑musl or later, or re‑compile with PAM enabled.
- Audit SSH Configurations – Verify that
UsePAM yesis set, and that no accounts are left without passwords. - Enforce Multi‑Factor Authentication (MFA) for all privileged SSH logins, preferably via PAM or external MFA providers.
- Review Sudo Policies – Ensure that low‑privilege users cannot invoke privileged commands without explicit approval.
- Monitor Authentication Logs – Deploy real‑time alerting for successful logins with empty password fields or anomalous login times.
- Conduct a Credential Hygiene Review – Identify and remediate any accounts that lack passwords or have weak password policies.
Source: The Hacker News – Hackers Exploited OpenSSH SSHole Flaw Within Hours of Disclosure