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

    Every framing side by side. A framing is a way of telling the story that several articles share; it argues its way into main through a pull request. Superscripts are citations; the sources are listed once at the bottom.

    No framings yet

    This story's articles all tell it the way main does.

    What the framings share, and where they part

    Shared facts: what main holds

    Every framing argues from these; each is cited on main, and a branch may add to them through a pull request.

    • The flaw sits in how OpenSSH and musl's crypt() work together when sshd checks passwords without PAM.12
    • 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.23
    • On musl, crypt() refuses passwords over 256 bytes and returns *, which matches the stored * of a locked account, so the login succeeds.23
    • The bypass does not work on accounts with valid password hashes, according to the researcher.2
    • Özgün Kültekin says he found the flaw using AI agents that ran about 17,600 authentication tests.2

    Which systems are affected

    • Affected systems run musl as their C library, and the reports name Alpine Linux, OpenWrt, Buildroot and Yocto.2
    • Systems using glibc, such as Debian, Ubuntu and Fedora, and systems that check passwords through PAM are not affected.23
    • On OpenWrt the flaw matters only where an admin has installed the OpenSSH server, since Kültekin says Dropbear is not affected.3
    • On Alpine, accounts with * as their password include key-only users, root, and the alpine user in official cloud images built with tiny-cloud.3

    The fix and workarounds

    • OpenSSH 10.6p2 fixes the flaw, and Alpine has published fixed packages for every release back to 3.16.3
    • On Alpine, admins run apk upgrade -U -a and then rc-service sshd restart, because the package update does not restart a running sshd.3
    • Turning off password logins with PasswordAuthentication no also stops the attack, and the advisory says to check the setting with sshd -T.3
    • OpenSSH calls the 10.6p2 change a workaround and says the root cause lies outside sshd.3

    Sources cited

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

    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