Long passwords unlock disabled accounts
The "*sshole" flaw lets oversized passwords log into *-disabled accounts on musl-based OpenSSH servers like Alpine under certain configurations. Fixed in 10.6p2.
On a musl-based Linux box, an account whose /etc/shadow password field is set to * is supposed to reject every password. Ozgun Kultekin showed that, with the right configuration in place, sending one longer than 256 bytes logs you straight in. He calls the bug “*sshole,” and it reaches OpenSSH servers on the musl C library, including Alpine Linux, OpenWrt, Buildroot, and Yocto, in certain authentication configurations. It has been exploitable since 2016.
Two sensible changes collide to produce it. Setting a password hash to * is the standard way to disable password login for an account, since * is not a valid hash and nothing should ever match it. Separately, OpenSSH was patched in 2016 to close CVE-2016-6210, a username enumeration flaw. Before that fix, OpenSSH skipped password hashing for accounts with no usable hash, so an attacker could tell real usernames from fake ones by response time. The fix forced OpenSSH to hash the submitted password regardless, including for accounts whose stored hash is *, so the timing gives nothing away.
On glibc that is harmless, because the computed hash never equals *. musl breaks the assumption: its crypt() returns * when hashing fails, and it fails when the submitted password is over its 256-byte limit. OpenSSH compares that returned * against the stored *, finds a match, and grants access. Accounts with real password hashes stay safe; the oversized string only produces a match against the literal *.
Exploitation needs a specific lineup:
- OpenSSH on a musl-based system (Alpine, OpenWrt, Buildroot, Yocto).
- PAM authentication disabled, which is the default in Alpine’s
openssh-serverpackage. - SSH password authentication enabled.
- At least one account with
*as its password hash. - Another account with a valid password hash.
That lineup ships ready-made in places. Alpine’s official AWS and Azure cloud images carry a default alpine account matching the pattern, with passwordless doas, so an attacker who walks through the hole lands with a clear path to root.
Systems on glibc, which covers Debian, Ubuntu, and Fedora, are not affected, and neither is anything using PAM.
Kultekin found the bug by pointing AI agents at it; they ran roughly 17,600 authentication attempts across different OpenSSH configurations, malformed hashes, and oversized passwords until the *-versus-* match surfaced.
The fix is in OpenSSH 10.6p2. On Alpine, apk upgrade openssh pulls it. If you cannot patch immediately, set PasswordAuthentication no in the SSH server config and restart the service, which removes the only path the attack uses.
For anyone who ran an exposed musl host, check whether it was already hit. On Alpine, successful password logins show up with:
grep "Accepted password" /var/log/messages
If the alpine account appears there, confirm whether it is even meant to accept passwords:
grep '^alpine:' /etc/shadow
A * in that password field alongside an “Accepted password” entry for the same account could indicate that the vulnerability was exploited.
Keep Reading
opensshSSHole exploited within hours of its November 5 fix
SSHole (CVE-2026-123158) lets an oversized password log into musl-based OpenSSH with PAM off; plus trojanized updaters and AI on both sides of attacks.
vulnerabilityCISA adds exploited Puppet Server RCE to KEV catalog
CVE-2026-115731 is a CVSS 9.4 deserialization RCE in Puppet's report-processing code, now in CISA's KEV catalog after reports of active exploitation.
ScreenConnectSCKit Keeps Targeting Unpatched ScreenConnect
ConnectWise warns that SCKit attacks continue against unpatched ScreenConnect systems with identified third-party extensions still enabled.
Latest on the Wire
Full wire →- C++26 Technical Work Completed Again After Contracts ObjectionsHacker News
- CISA Tracks Critical N-able and MONAI Label Flaws Under Active ExploitationThe Hacker News
- Claude AI Proves VP ≠ VNP Over Every FieldHacker News
- Datasette-Charts: AI-Built Plugin for Full-Dataset VisualizationSimon Willison
New signal daily · RSS
Stay in the loop
New writing delivered when it's ready. No schedule, no spam.