Which systems are affected?
CVE-2026-123158 affects OpenSSH sshd prior to 10.6p2 when running on musl libc without PAM and with specific local-account conditions. Accounts with a disabled password field may become vulnerable to password authentication bypass. Alpine Linux is a notable example, but some embedded musl-based systems may also qualify.
Standard glibc/PAM-based Linux configurations are not automatically vulnerable based on the OpenSSH version alone. Check your distribution's advisory and actual build.
Check exposure safely
- Identify the OS and SSH package:
cat /etc/os-release; on Alpine,apk info -v openssh-server. - Confirm that sshd is running and inspect effective authentication settings with
sshd -T | grep -Ei '^(passwordauthentication|usepam|permitrootlogin) '.Matchrules can alter effective settings for individual users. - Compare installed Alpine packages against the fixed versions for your release. Alpine backports security fixes, so the upstream version alone is not decisive.
- Review suspicious successful logins and accounts with disabled password fields. Never upload
/etc/shadowto an external checker.
Install the fix and restart sshd
On affected Alpine installations, update from official repositories, for example apk update && apk upgrade, then confirm the installed openssh-server package. As examples, fixed packages include 10.3_p1-r2 for Alpine 3.24, 10.2_p1-r1 for 3.23, and 10.0_p1-r11 for 3.22. Confirm the applicable package for your release in the Alpine advisory.
Restarting sshd is essential. On OpenRC-based Alpine, use rc-service sshd restart. Keep a recovery session available, verify a fresh connection, and only then close your existing administrative connection.
When immediate patching is not possible
Where operationally feasible, switch to public-key authentication and disable PasswordAuthentication. Run sshd -t before restarting sshd. Changes to configuration alone do not protect an already-running daemon. Otherwise, restrict SSH network exposure or temporarily disable the service.
Key takeaway
Prioritize a targeted audit of Alpine and musl-based hosts without PAM: installed SSH package, authentication methods, network access and suspicious login records. A package update does not replace an investigation if the service was previously exposed.
Track your software inventory using TechAtelier software watch.
Official references
- CERT-FR – CERTFR-2026-ALE-015
- Alpine Linux – OpenSSH password authentication bypass
- OpenSSH – 10.6p2 release notes
Check your distribution's official advisory for precise package versions and local configuration details.