Security News cve authentication
SEC News High

OpenSSH 10.6p2 fixes CVE-2026-123158, an auth bypass on musl-based Alpine

CVE-2026-123158 lets a very long password bypass sshd authentication on Linux builds that use musl without PAM, and Alpine has published fixed packages.

KT Kusal Tharindu

CVE-2026-123158 is a password authentication bypass in sshd, the OpenSSH server daemon, on Linux systems that use musl libc without PAM (pluggable authentication modules). The CVE record, published on November 5, 2026, gives the flaw a CVSS (Common Vulnerability Scoring System) 3.1 base score of 8.1, in the HIGH range, and classifies it as CWE-394, an unexpected return value or status code. OpenSSH released 10.6p2 on November 5, 2026 to fix it.

What is affected

The vulnerable condition is OpenSSH before 10.6p2 running on Linux under musl libc with PAM disabled. Alpine’s openssh-server package is built without PAM, which puts Alpine 3.21 through 3.24 and edge in scope, along with the older 3.16 through 3.20 releases that no longer receive regular updates. Alpine published the fixed package in point releases 3.21.10, 3.22.8, 3.23.8 and 3.24.4. The official tiny-cloud images from 3.18.11 through 3.24.3 ship an alpine user with a * password field and passwordless doas.

Why it matters

musl’s crypt() returns the string * as an error indicator when the key is over 256 bytes long. An attacker sends a very long password, between 257 and 1024 bytes, to bypass authentication. CISA’s SSVC (Stakeholder-Specific Vulnerability Categorization) assessment lists exploitation status as proof of concept, not active exploitation. The flaw was reported by Özgün Kültekin of Wakefield.

What to do

Run apk upgrade -U -a and restart sshd with rc-service sshd restart. If you cannot update yet, set PasswordAuthentication no in the sshd configuration and restart sshd. Look in /var/log/messages for sshd lines reading Accepted password for an account that has no password.

Sources

  1. Security advisory: openssh-server password authentication bypass
  2. NVD: CVE-2026-123158
3 posts

Discussion

Spotted an error? Send corrections to [email protected] .

Search Oxelan Signal

Type to search the archive.

Search by title, tag, summary or body text.