OpenSSH flaw lets attackers log into passwordless Linux accounts
openssh-musl-password-bypass / README.md
Read itEach line of main (version 1) with the version that last wrote it. Every line is from the first version.
AI-generated summary. May contain factual errors. Check the linked sources. Report an error.
README.md › What happened
v15 November 2026
- A flaw in OpenSSH on musl-based Linux lets an attacker log in to accounts with a * password hash by submitting a password longer than 256 bytes.12
- Researcher Özgün Kültekin reported it, and OpenSSH rated it critical and released 10.6p2 to block it.2
- Alpine has published fixed packages, and the sources report no attacks using the flaw.2
README.md › Where it stands
v15 November 2026
- OpenSSH 10.6p2 is released, and Alpine has published fixed packages for every release back to 3.16.2
- No attacks using the flaw have been reported, and no CVE identifier had been assigned as of 5 November 2026.2
- Systems that cannot update yet can turn off password logins, but the sources do not say how many machines remain exposed.2
README.md › How the flaw works
v15 November 2026
- The flaw sits in how OpenSSH and musl's crypt() work together when sshd checks passwords without PAM.31
- A 2016 OpenSSH change that fixed the username enumeration bug CVE-2016-6210 made sshd hash passwords even for accounts with no usable hash, borrowing another account's salt.12
- On musl, crypt() refuses passwords over 256 bytes and returns *, which matches the stored * of a locked account, so the login succeeds.12
- The bypass does not work on accounts with valid password hashes, according to the researcher.1
- Özgün Kültekin says he found the flaw using AI agents that ran about 17,600 authentication tests.1
README.md › Which systems are affected
v15 November 2026
- Affected systems run musl as their C library, and the reports name Alpine Linux, OpenWrt, Buildroot and Yocto.1
- Systems using glibc, such as Debian, Ubuntu and Fedora, and systems that check passwords through PAM are not affected.12
- On OpenWrt the flaw matters only where an admin has installed the OpenSSH server, since Kültekin says Dropbear is not affected.2
- On Alpine, accounts with * as their password include key-only users, root, and the alpine user in official cloud images built with tiny-cloud.2
README.md › The fix and workarounds
v15 November 2026
- OpenSSH 10.6p2 fixes the flaw, and Alpine has published fixed packages for every release back to 3.16.2
- On Alpine, admins run apk upgrade -U -a and then rc-service sshd restart, because the package update does not restart a running sshd.2
- Turning off password logins with PasswordAuthentication no also stops the attack, and the advisory says to check the setting with sshd -T.2
- OpenSSH calls the 10.6p2 change a workaround and says the root cause lies outside sshd.2
README.md › Who bears the risk
v15 November 2026
- Operators of exposed Alpine servers face logins to passwordless accounts from a single connection, which the advisory says succeeds on every try.2
- Default alpine accounts on some cloud images have passwordless doas, which could let an attacker who logs in gain root.12
- Admins must restart sshd or disable password logins, and check logs, doas use, recent users and authorized keys on exposed machines.2
- If an admin cannot rule out a login, the advisory says to treat the machine as compromised.2
README.md › Limits of the sources
v15 November 2026
- The 17,600-test figure and the claim of AI discovery come from the researcher and are not independently checked.1
- The reports differ on cloud images: one says the default alpine account on AWS and Azure images is affected, while the other says tiny-cloud images are safe at first boot and affected only once a $6$ hash exists.12
- Checkpoint's researchers found the account must be active, not just hold a hash, a condition the other reports do not list.3
- No CVE identifier had been assigned as of 5 November 2026.2
- The sources report no attacks using the flaw, but they give no count of exposed machines and no log data.2
- The Alpine advisory and OpenSSH release notes are described only second-hand in these reports.2
README.md › Timeline
v15 November 2026
- 2012-08-09: musl changes crypt() so a failed call returns an unmatchable hash instead of NULL.2
- 2012-08-29: musl adds a 256-byte password limit to crypt() to protect servers from denial-of-service attacks.2
- 2016-07-15: OpenSSH changes its handling of accounts without usable hashes to address CVE-2016-6210.2
- 2026-11-05: Özgün Kültekin publishes details of the flaw, OpenSSH releases 10.6p2 with the fix, and Alpine publishes fixed packages.12
README.md › Open questions
v15 November 2026
- Was the flaw used against any machine before the fix? The reports say no attacks have been reported, not that none happened.2
- Do the AWS and Azure Alpine images carry the passwordless alpine account, as one report says, or only tiny-cloud images from 3.18.11 to 3.24.3, as the other says?12
- Are musl-based distributions beyond Alpine, OpenWrt, Buildroot and Yocto affected?13
- Will a CVE identifier be assigned, and will musl's crypt() behaviour change at its root, since OpenSSH says the root cause lies outside sshd?2
Sources cited
- BleepingComputer · OpenSSH flaw lets attackers log into password-disabled Linux accounts · 5 November 2026
The problem is that the musl C library's crypt() function also returns * when password hashing fails, including when a submitted password exceeds its 256-byte limit.
1234567891011121314 - The Hacker News · OpenSSH Issues Emergency Fix for Flaw Letting Long Passwords Bypass SSH Auth on Alpine Linux · 5 November 2026
OpenSSH, which rates the flaw critical, released version 10.6p2 today to block it.
123456789101112131415161718192021222324252627282930 - Ars Technica · Meet *sshole, the vulnerability that lets hackers SSH into Linux devices · 5 November 2026
An attacker who can reach your SSH port can log in without knowing any password
123