Last modified 2026 Nov 5

CVE-2026-123158 is an authentication bypass in the OpenSSH server, nicknamed SSHhole (styled *sshole) by its discoverer, Özgün Kültekin of Wakefield. It arises when sshd is built without PAM on a Linux system that uses the musl C library. In that arrangement the server verifies passwords itself, by hashing the candidate and comparing the result with the stored field. Under conditions the lesson explains, the hashing function reports failure by returning the very string that the account database uses to mark an account as having no password. The comparison then succeeds, and the server admits the client.

The flaw matters because it defeats a control that administrators treat as absolute. An account with no password is meant to be unreachable by any password at all, and that is the ordinary state of key-only accounts. The Alpine Linux advisory states that its default OpenSSH package is built without PAM and that its root account has shipped in this state since about release 3.16. The CVE record, assigned by MITRE as CNA, scores the flaw at CVSS 3.1 8.1, High. The OpenSSH project shipped an emergency release, 10.6p2, on the day of disclosure.

This lesson has two parts. Part I explains how sshd verifies a password without PAM, how the musl library's behavior defeats an assumption in that path, and how the fix restores it. Part II maps the configurations that reach the flaw, the evidence a defender can observe, the inventory tools that apply, and how to confirm the fix is in force. The versions involved are these:

Component Affected Fixed
OpenSSH portable (Linux, musl, without PAM) before 10.6p2 10.6p2, released 2026-11-05
Alpine edge earlier packages openssh 10.6_p2-r0
Alpine 3.24 earlier packages openssh 10.3_p1-r2, in 3.24.4
Alpine 3.23 earlier packages openssh 10.2_p1-r1, in 3.23.8
Alpine 3.22 earlier packages openssh 10.0_p1-r11, in 3.22.8
Alpine 3.21 earlier packages openssh 9.9_p2-r1, in 3.21.10
Alpine 3.20 earlier packages openssh 9.7_p1-r6
Alpine 3.19 earlier packages openssh 9.6_p1-r3
Alpine 3.18 earlier packages openssh 9.3_p2-r4
Alpine 3.17 earlier packages openssh 9.1_p1-r7
Alpine 3.16 earlier packages openssh 9.0_p1-r6

The CVE record supplies no lower bound for the affected OpenSSH versions. The researcher dates the underlying condition to 2016, as Part I recounts. Alpine reports that releases 3.20 and older, no longer on regular support, nonetheless received backported packages. Alpine release 3.21 reached its end of support on November 1, 2026.

Part I: Internals

Terminology