IT news

“sshole”: a very long password logs you in to accounts that have no password

AI summary Check sources below for details.

What happened

On 5 November 2026 the OpenSSH project released version 10.6p2, and Alpine Linux published a security advisory the same day. The flaw, found by Özgün Kültekin of Wakefield and nicknamed “sshole” (CVE-2026-123158), lets someone who can reach your SSH port log in as an account that has no password, without knowing anything. It takes one connection and works every time.

The cause is two old, individually reasonable decisions that fit together badly. Accounts that must never take a password (key-only users, root on Alpine, users from a directory service) have a single * in the password field. The musl C library, which Alpine is built on, answers * when it is asked to hash a password longer than 256 bytes. When sshd runs without PAM, it compares that answer with the stored field, sees two identical * and lets the login through.

Who is affected

All of these have to be true:

On Alpine’s official cloud images the default alpine user is such an account and may use doas without a password, so the attacker ends up as root. Alpine says every release from 3.16 to edge is affected. Systems built on glibc (Debian, Ubuntu, Fedora), setups that go through PAM, Dropbear and OpenBSD are not. The researcher also names OpenWrt, Buildroot, Yocto and many Docker images as musl-based places to check. Containers that do not run sshd are not exposed.

Is it being used?

Yes, according to one source. The security firm Previdian reports a first attempt less than nine hours after the CVE was published, and a successful root login on its Alpine honeypot, from a single address. CISA had not listed the flaw as exploited when the reports appeared. Proof-of-concept code is on GitHub, but Previdian warns that some of it is unverified and may contain malware.

What to do

Sources