OpenSSH SSHole flaw bypasses Alpine Linux SSH passwords (CVE-2026-123158)
Original title: Hackers Bypass Alpine Linux SSH Authentication Using Just a 257-Byte Password
A lab login used a 257-byte password on unpatched Alpine 3.24; fixed packages are 10.3_p1-r2, 10.2_p1-r1, and 10.0_p1-r11.
CVE-2026-123158, called SSHole, affects OpenSSH on Alpine Linux when the host uses musl, does not use PAM, and allows password logins. musl’s crypt() can return an error marker that matches the stored value for an account with no usable password, so the server accepts the login. OpenSSH and Alpine shipped fixes on November 5. A November 23 lab test on Alpine 3.24 showed an unpatched server accepted a 257-byte password and a patched package rejected it.
Unconfirmed: This article treats the 257-byte login as a lab result and separates it from earlier reporting of active exploitation.
- Fixed Alpine packages are 10.3_p1-r2, 10.2_p1-r1, and 10.0_p1-r11.
- OpenSSH 10.6p2 credits Özgün Kültekin of Wakefield with the report.
- Hosts using PAM, or containers without sshd, are outside this path.
- Older tiny-cloud images had an alpine user that could become root via doas.
- After upgrading, restart sshd with rc-service sshd restart.
Impact: Remote SSH login without a valid password or key
| Product | Affected | Fixed in |
|---|---|---|
| Alpine Linux OpenSSH | unpatched packages on Alpine 3.24, 3.23, and 3.22 | 10.3_p1-r2 (3.24), 10.2_p1-r1 (3.23), 10.0_p1-r11 (3.22) |
| OpenSSH | — | 10.6p2 |
- 1.Install the fixed Alpine OpenSSH package for your release and run rc-service sshd restart.
- 2.If you cannot patch yet, set PasswordAuthentication no, confirm key login, then restart sshd.
- 3.Review /var/log/messages for Accepted password entries on accounts meant to use keys only.
- CVEs
- CVE-2026-123158
- Vendors
- OpenSSHAlpine Linux
- Organizations
- IOTSEC ForumWakefield
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
| CVE-2026-123158 | Password bypass in OpenSSH before 10.6p2 on musl without PAM | 8.1 | 96% | KEVPoC ×24 | KEV |
From the original article
2 min read at cybersecuritynews.com
A flaw in OpenSSH lets remote attackers sign in to certain Alpine Linux accounts without knowing a valid password or holding an SSH key. The vulnerability, tracked as CVE-2026-123158 and known as SSHole, affects unpatched servers that use the musl C library, run without Pluggable Authentication Modules (PAM), and allow SSH password logins. OpenSSH released […]
By Dhivya · cybersecuritynews.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.