CVE-2026-123158: OpenBSD OpenSSH · Authentication bypass
Exploitation: In the wild · CVSS 8.1 High · Unauthenticated · Published 2026-11-05
Description
sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentication bypass (related to misinterpretation of whether a string is intended to be a password hash). For some configurations of accounts, any password between 256 and 1024 characters succeeds. An example of a platform using musl libc without PAM is Alpine Linux.
Enclave's analysis
sshd in OpenSSH before 10.6p2 on musl Linux without PAM, like Alpine, accepts any 257 to 1024 character password for accounts whose stored password field is a bare star. The attacker needs only an ssh client and network reach to the SSH port. Public PoCs exist, honeypots caught real attacks, and CISA added it to KEV. Upgrade the package and restart sshd, or turn off password authentication.
Fix
Upgrade OpenSSH sshd (OpenBSD portable) to 10.6p2; Alpine Linux openssh-server to edge 10.6_p2-r0, 3.24 10.3_p1-r2, 3.23 10.2_p1-r1, 3.22 10.0_p1-r11, 3.21 9.9_p2-r1, 3.20 9.7_p1-r6, 3.19 9.6_p1-r3, 3.18 9.3_p2-r4, 3.17 9.1_p1-r7, 3.16 9.0_p1-r6. No fixed version is listed for OpenSSH; follow the vendor advisory.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| OpenSSH | 0 before 10.6p2 | Not listed |
| OpenSSH sshd (OpenBSD portable) | before 10.6p2 | 10.6p2 |
| Alpine Linux openssh-server | branches 3.16 to edge before the backported fix; releases before 3.16 get no fixed package | edge 10.6_p2-r0, 3.24 10.3_p1-r2, 3.23 10.2_p1-r1, 3.22 10.0_p1-r11, 3.21 9.9_p2-r1, 3.20 9.7_p1-r6, 3.19 9.6_p1-r3, 3.18 9.3_p2-r4, 3.17 9.1_p1-r7, 3.16 9.0_p1-r6 |