Type / to search

    ↑ ↓ to choose, Enter to open, Esc to close, > for commands

    OpenSSH flaw lets attackers log into passwordless Linux accounts

    patchnotes/openssh-musl-password-bypassPublic

    Each 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
    1. 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
    2. Researcher Özgün Kültekin reported it, and OpenSSH rated it critical and released 10.6p2 to block it.2
    3. Alpine has published fixed packages, and the sources report no attacks using the flaw.2
    README.md › Where it stands
    1. OpenSSH 10.6p2 is released, and Alpine has published fixed packages for every release back to 3.16.2
    2. No attacks using the flaw have been reported, and no CVE identifier had been assigned as of 5 November 2026.2
    3. 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
    1. The flaw sits in how OpenSSH and musl's crypt() work together when sshd checks passwords without PAM.31
    2. 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
    3. On musl, crypt() refuses passwords over 256 bytes and returns *, which matches the stored * of a locked account, so the login succeeds.12
    4. The bypass does not work on accounts with valid password hashes, according to the researcher.1
    5. Ö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
    1. Affected systems run musl as their C library, and the reports name Alpine Linux, OpenWrt, Buildroot and Yocto.1
    2. Systems using glibc, such as Debian, Ubuntu and Fedora, and systems that check passwords through PAM are not affected.12
    3. On OpenWrt the flaw matters only where an admin has installed the OpenSSH server, since Kültekin says Dropbear is not affected.2
    4. 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
    1. OpenSSH 10.6p2 fixes the flaw, and Alpine has published fixed packages for every release back to 3.16.2
    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
    3. Turning off password logins with PasswordAuthentication no also stops the attack, and the advisory says to check the setting with sshd -T.2
    4. OpenSSH calls the 10.6p2 change a workaround and says the root cause lies outside sshd.2
    README.md › Who bears the risk
    1. Operators of exposed Alpine servers face logins to passwordless accounts from a single connection, which the advisory says succeeds on every try.2
    2. Default alpine accounts on some cloud images have passwordless doas, which could let an attacker who logs in gain root.12
    3. Admins must restart sshd or disable password logins, and check logs, doas use, recent users and authorized keys on exposed machines.2
    4. If an admin cannot rule out a login, the advisory says to treat the machine as compromised.2
    README.md › Limits of the sources
    1. The 17,600-test figure and the claim of AI discovery come from the researcher and are not independently checked.1
    2. 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
    3. Checkpoint's researchers found the account must be active, not just hold a hash, a condition the other reports do not list.3
    4. No CVE identifier had been assigned as of 5 November 2026.2
    5. The sources report no attacks using the flaw, but they give no count of exposed machines and no log data.2
    6. The Alpine advisory and OpenSSH release notes are described only second-hand in these reports.2
    README.md › Timeline
    1. 2012-08-09: musl changes crypt() so a failed call returns an unmatchable hash instead of NULL.2
    2. 2012-08-29: musl adds a 256-byte password limit to crypt() to protect servers from denial-of-service attacks.2
    3. 2016-07-15: OpenSSH changes its handling of accounts without usable hashes to address CVE-2016-6210.2
    4. 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
    1. Was the flaw used against any machine before the fix? The reports say no attacks have been reported, not that none happened.2
    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
    3. Are musl-based distributions beyond Alpine, OpenWrt, Buildroot and Yocto affected?13
    4. 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

    1. 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
    2. 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
    3. 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

    Keyboard shortcuts

    / or Ctrl K
    Search everything
    j k
    Next or previous section
    g h
    Go to stories
    g c
    Go to changes
    g t
    Go to topics
    g r
    This story's README
    g i
    Its issues
    g p
    Its pull requests
    g d
    Its discussions
    g w
    Its wiki
    g b
    Its branches
    g l
    Its commits
    g s
    Its sources
    y
    The permanent link to this version
    ?
    Show this list