CVE-2026-123158OpenSSH on musl without PAM accepts any long password for passwordless accounts
What broke
Without PAM, sshd checks a password by running it through crypt() and comparing the result with the account's shadow field. Alpine Linux's advisory of November 5, 2026 explains the failure: on musl, crypt() returns * for keys over 256 bytes, and "* is also exactly what the stored field contains for every account with no password," so the comparison matches. NVD describes it as sshd in OpenSSH before 10.6p2 on Linux "when musl libc is used without PAM," where for some accounts "any password between 256 and 1024 characters succeeds." The CWE is CWE-394 (unexpected status code or return value) and the MITRE score is CVSS 3.1 8.1.
Alpine lists the conditions: password authentication on (the default), the non-PAM openssh-server package or UsePAM no, a target account whose password field is * (key-only users, or root in the base image), and at least one other account with a $5$ or $6$ hash. Upstream fixed it in OpenSSH 10.6p2 and Alpine shipped fixed packages back to 3.16. CISA added it to KEV on November 9, 2026.
Why it matters
A * in the shadow file is supposed to mean "this account cannot log in with a password." Many admins create key-only accounts on that assumption and give them doas or sudo rights. Here the marker became a valid password, so an internet-facing container or cloud VM could be entered as root without any credential. Alpine notes its official cloud images ship an alpine user with a * password and passwordless doas, which becomes exploitable once any $6$ hash exists on the box.
What to do
- Upgrade to OpenSSH 10.6p2 or your distribution's fixed package, then restart sshd. The running daemon keeps the old code until it restarts.
- Where you cannot patch yet, set
PasswordAuthentication noand confirm key login works before closing your session. - Search logs for
Accepted password foron accounts that have no password, such asroot,alpineor key-only service users.
After you patch
- If such a login appears, treat the host as compromised: review new users,
authorized_keysfiles anddoasor sudo use, and rotate any secrets the host held.
Sources
Related on Start with Identity
- CVECheck Point Remote Access VPN lets attackers in without a password over IKEv1
A certificate validation logic flaw in Check Point Remote Access and Mobile Access over deprecated IKEv1 let attackers open a VPN session without a valid passwo
- CVECheck Point SmartConsole login hands an unauthenticated attacker an admin token
A flaw in the Check Point SmartConsole login process let an unauthenticated attacker obtain an application login token and sign in to the Management Server as a
- CVECisco Expressway clusters trust static cookies and unchecked client certificates
Clustered Cisco Expressway-C and Expressway-E nodes used persistent cookies and skipped client certificate validation on the database service, letting an unauth
- Blog39% of identity CVEs are on CISA KEV, and edge appliances hold 62% of the exploited ones
SWI's Identity Vulnerability Report 2026 checked 137 identity CVEs against CISA's Known Exploited Vulnerabilities catalog and NVD. 53 are exploited, most of the
- BlogCISA adds the last two Ivanti Connect Secure chain flaws to KEV after Ivanti's October 29 patch
CISA added Ivanti Connect Secure CVE-2026-111357 and CVE-2026-118527 to its exploited list on October 30, a day after Ivanti patched the root escalation UTA0576
- BlogExploited Outlook zero-day leaks NTLMv2 hashes when a crafted file is opened
Microsoft's November 10 Patch Tuesday fixed CVE-2026-124194, an exploited Outlook flaw where opening a crafted message file makes Outlook connect to an attacker