Alpine and musl SSH: a long password can open key-only accounts
6 November 2026On Alpine and other musl systems without PAM, a long password can log into key-only SSH accounts (CVE-2026-123158). Update OpenSSH and restart sshd today, or turn password logins off. Previdian saw attacks start within nine hours and confirmed root on a honeypot.
- Updated 10/11/2026: CISA added this flaw to its Known Exploited Vulnerabilities list on 09/11/2026, with a federal fix deadline of 12/11/2026.

What happened
OpenSSH on Linux systems that use the musl C library and do not check passwords through PAM has a password login bypass. Accounts that should never accept a password (key-only users, and on Alpine cloud images the default alpine user) can be logged into with a very long password. OpenSSH 10.6p2 ships a workaround. Alpine published fixed packages the same day and tells admins to update and restart sshd.
Does this affect you
Only if you run OpenSSH on musl without PAM. Alpine Linux is the main case, including Docker images that actually run sshd. The finder also names some OpenWrt, Buildroot and Yocto builds. Ubuntu, Debian, Fedora and other glibc systems, and setups that use PAM, are not affected. Alpine containers that never run sshd are not affected.
What to do
- Ask your host or IT person: "Do we run OpenSSH on Alpine or another musl system, and is PasswordAuthentication still yes?" Alpine's check is
sshd -T | grep -i passwordauthentication, which should printpasswordauthentication no. - If yes, update openssh today and restart sshd. On Alpine:
apk upgrade -U -athenrc-service sshd restart. Upgrading the package alone does not replace the running daemon. - Check the package version against Alpine's table, not just the OpenSSH number. Alpine fixed its stable branches by patching their own OpenSSH versions, so a fixed Alpine 3.24 box still reports OpenSSH 10.3p1; the fix is package 10.3_p1-r2.
- If you cannot update yet, set
PasswordAuthentication noand restart sshd (keep a working key login open first). Alpine's advisory has the exact commands. - Check logs for
Accepted password foron accounts that should have no password. If you cannot rule a login out, treat the machine as compromised: Alpine says to review doas use and recently created users, files and authorised keys on exposed machines. In the UK, the NCSC's small business guide says to report a cyber incident to the police through Report Fraud on 0300 123 2040.
Is it being attacked?
Yes. Previdian told Help Net Security (06/11/2026) it had confirmed successful root access on an Alpine/OpenSSH honeypot, and that its first observed attempt came less than nine hours after the CVE was published. Previdian's own page, checked 07/11/2026, now counts 17 exploitation attempts from 11 different IP addresses in 8 countries, first seen 06/11/2026 and last seen 07/11/2026. CISA added the flaw to its Known Exploited Vulnerabilities list on 09/11/2026, with a due date of 12/11/2026 for US federal agencies. CISA lists whether ransomware gangs use it as unknown.
Found by
Özgün Kültekin of Wakefield (wakefield.co), credited by OpenSSH and Alpine. On sshhole.com the finder writes "i had agent swarms. a lot of them", for the unusual login testing that turned it up. Tag: people using Ai.
For developers
- CVE-2026-123158, CVSS 3.1 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) on the CVE record; CWE-394.
- Affects OpenSSH before 10.6p2 on Linux with musl and PAM disabled. Alpine's default
openssh-serveris built without PAM;openssh-server-pamwithUsePAM nois affected too. - Attack needs PasswordAuthentication yes, an account with
*in the password field, and at least one local$5$or$6$hash. Password length 257 to 1024 bytes (the CVE text says between 256 and 1024 characters; Alpine's advisory says 257 to 1024 bytes). - OpenSSH 10.6p2 workaround (portable commit 4353fdc, "avoid password authn bypass"): sshd now refuses a password match unless the stored password field is at least four characters long (
MIN_PASSWORD_HASH_LEN 4), so a*field can never match. The commit says: "We do not consider the root cause to be within OpenSSH but we are well equipped to avoid it." - Alpine fixed package versions: 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. Alpine 3.21.10, 3.22.8, 3.23.8 and 3.24.4 include the fix. Only edge moves to 10.6p2, so check the package release, not
ssh -V. - Tiny-cloud images 3.18.11 through 3.24.3: the alpine user has
*and passwordless doas, so it becomes exploitable once any real hash exists on the machine. - Previdian (07/11/2026): 17 exploitation attempts, 11 unique attacker IPs, 8 countries; first observed 06/11/2026, last observed 07/11/2026; public proof-of-concept code published.
- CISA KEV: added 2026-11-09, due 2026-11-12 (catalogue 2026.11.09); CWE-394. The earlier CISA ADP SSVC entry on the CVE record read Exploitation poc, Automatable no, Technical Impact total.
Sources
- OpenSSH 10.6p2 release notes, 05/11/2026
- Alpine Linux advisory, 05/11/2026
- OpenSSH portable commit 4353fdc, avoid password authn bypass
- CVE.org, CVE-2026-123158, 05/11/2026
- sshhole.com, Özgün Kültekin
- Help Net Security / Previdian, 06/11/2026
- Previdian, CVE-2026-123158, checked 07/11/2026
- CISA KEV JSON catalogue 2026.11.09
- NCSC, Small Business Guide: Response and Recovery, Step 4
Read next
More from The Patch Wave
- Act today

iPhones, iPads and Macs: update today, Apple has patched a compression flaw already on the US exploited list
Apple's 09/11/2026 updates fix the Brotli flaw CVE-2026-111497, which CISA added to its exploited list on 27/10/2026, and an iMessage group chat flaw. Update iPhones, iPads and Macs today.
- Act today

Microsoft Outlook: November's updates fix a flaw attackers are already using
Microsoft says attackers are already using an Outlook flaw (CVE-2026-124194) fixed in this month's updates. Update Office and run Windows Update today.
- Watch

Hotmail and Outlook.com bounced some business email for nearly three days: Microsoft has fixed it
Microsoft says a faulty spam rule update made Outlook.com, Hotmail and Live wrongly block some email from 06/11 to 09/11/2026. It has rolled the update back. If your mail to those addresses still bounces, tell your IT person.