Security Advisory : Kerentanan OpenSSH pada Alpine Linux (CVE-2026-123158)
Summary
An authentication bypass vulnerability named "sshole" has been detected in OpenSSH (sshd) on musl-based Linux systems, primarily Alpine Linux. There are currently no reports of active exploitation, but proof-of-concept code is publicly available.
Technical Details
This vulnerability occurs because the crypt() function in musl returns the "*" character when an error occurs, which is identical to the value on passwordless accounts, causing sshd to consider authentication successful. This vulnerability only impacts environments where sshd runs without PAM and password login is enabled.
Affected Products
- OpenBSD OpenSSH (prior to version 10.6p2) on musl-based systems without PAM
- Alpine Linux 3.16 through 3.24 and edge (prior to fixed OpenSSH packages)
Impact
An unauthenticated remote attacker can exploit this vulnerability to log in to passwordless accounts, and even obtain root access on official Alpine cloud images.
Mitigation
- Update OpenSSH to version 10.6p2 or fixed distribution packages, then restart the
sshdservice. - Disable password authentication via the
PasswordAuthentication nooption if updates cannot be applied immediately. - Restrict access to the SSH port to trusted networks or IP addresses only.
- Inspect "Accepted password" logs for accounts that do not have passwords.
References
- Security Advisory : Kerentanan OpenSSH pada Alpine Linux (CVE-2026-123158)
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.