Skip to content
COR Intelligence
Back to The Patch Wave
The Patch WaveAct todayFound by: people using Ai

Alpine and musl SSH: a long password can open key-only accounts

COR Solutions6 November 2026
4 min read911 words

On 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.
An open laptop with a dark abstract screen sits beside a brass key, a plant and a mug in a bright UK co-working space, beneath a framed photograph of snowy alpine mountains.

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

  1. 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 print passwordauthentication no.
  2. If yes, update openssh today and restart sshd. On Alpine: apk upgrade -U -a then rc-service sshd restart. Upgrading the package alone does not replace the running daemon.
  3. 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.
  4. If you cannot update yet, set PasswordAuthentication no and restart sshd (keep a working key login open first). Alpine's advisory has the exact commands.
  5. Check logs for Accepted password for on 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-server is built without PAM; openssh-server-pam with UsePAM no is 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

Read next

More from The Patch Wave