*sshole: OpenSSH bypass hits Alpine Linux servers, fix in 10.6p2
An OpenSSH flaw on Alpine and other musl Linux lets an oversized password log into key-only accounts. Update openssh, restart sshd, turn off password logins.
A long enough password opens accounts that have no password. A newly disclosed OpenSSH password bypass, nicknamed "*sshole," lets an attacker log into key-only accounts on Alpine Linux and other musl-based systems by sending a password of 257 to 1,024 bytes. Alpine Linux's advisory is blunt: one connection, works every time. The fix is in OpenSSH 10.6p2, tracked as CVE-2026-123158 (CVSS 8.1).
What actually happened
Researcher Ozgun Kultekin disclosed the bug on November 5, BleepingComputer reported. He found it with AI agents that ran about 17,600 authentication tests.
- The root cause. A 2016 OpenSSH change hashes passwords even for accounts with no usable hash, to stop username probing. On musl,
crypt()returns*when hashing fails, including on an oversized password. A key-only account's stored hash is also*. They match. You're in. - Who's exposed. Alpine's default
openssh-serverpackage, built without PAM, withPasswordAuthentication yes(the OpenSSH default). You also need one account with a*password field and one account with a real$5$or$6$hash. Alpine says every release it checked, 3.16 through 3.24 and edge, is affected. - The root risk. Official Alpine tiny-cloud images ship an
alpineuser with a*password and passwordlessdoas. Alpine says they're safe on first boot. They become exploitable once any real password hash exists on the box, and then an attacker can reach root. - Not affected. glibc distros like Debian, Ubuntu and Fedora. PAM setups with
UsePAM yes. Containers that don't run sshd. Hosts with password auth off.
Why it matters for your business
Alpine is everywhere small teams cut costs: lean VMs, routers, build boxes, the one-off server a contractor set up in 2021. Nobody remembers it runs sshd. That's the box that gets you.
Do this today:
- Update and restart.
apk upgrade -U -a, thenrc-service sshd restart. Alpine notes the upgrade alone doesn't replace the running daemon. - Turn off password logins.
PasswordAuthentication no. Keys only. Test a key login before you close your session. - Check for a break-in. Search
/var/log/messagesforAccepted passwordonalpine,rootor any key-only user. If you find one, treat the machine as compromised. - Inventory your images. Know which hosts run Alpine, OpenWrt or other musl builds, and who owns them.
Key takeaways
- "*sshole" lets an oversized password log into key-only accounts on musl Linux
- Alpine's default openssh-server package is affected on releases 3.16 through 3.24
- Fixed in OpenSSH 10.6p2 and in Alpine 3.21.10, 3.22.8, 3.23.8 and 3.24.4
- Restart sshd after upgrading, and set PasswordAuthentication no
- Debian, Ubuntu, Fedora and Docker containers without sshd aren't affected
Not sure what's running on your servers? We set up infrastructure you own, with key-only access, patch alerts and a written inventory of every box. Ask us to audit your servers, or see how we build.
Sources: Alpine Linux, BleepingComputer, CVE-2026-123158.
- #openssh
- #alpine-linux
- #cve-2026-123158
- #server-security
- #devops
Tommy Rush — Founder, Rush Commerce
Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More
Get The Rush Report weekly — one email, zero fluff.
Keep reading
WordPress CVE-2026-119977: the patch update itself is exposed
WordPress CVE-2026-119977 is exploited and the 7.1.4 fix can expose your site one last time. Block wp-content/upgrade first, then update, then check.
Read itKiro bots go GA: long-running AI agents with memory and schedules
AWS's Kiro bots are generally available in Kiro Crew: persistent AI agents with notes, schedules and approval gates, billed in credits. Scope each bot to one job.
Read it