A flaw in OpenSSH nicknamed sshole lets an attacker log in to some Linux servers without knowing any password. The bug, tracked as CVE-2026-123158, was disclosed on 5 November 2026, and OpenSSH released version 10.6p2 the same day with a workaround. Researcher Özgün Kültekin of Wakefield reported the flaw. It carries a CVSS score of 8.1, which marks it as high severity.

The flaw sits in how sshd checks passwords on Linux systems built with the musl C library and without PAM, the Pluggable Authentication Modules framework. When sshd is built without PAM, it hashes the attempted password with the crypt() function and compares the result with the stored password field. For an account whose stored field is too short to hold a salt, sshd borrows the salt of another account. The musl crypt() function returns the string '' as an error when the password is longer than 256 bytes. The character '' is also exactly what the stored field holds for every account with no password set, so the check passes and the login succeeds. An attacker needs the name of such an account and a password of 257 to 1,024 bytes. Alpine Linux says the attack takes one connection, works every time and needs no retries.

Who is affected, and who is not

Alpine Linux is the main case, because its standard openssh-server package is built without PAM. A system is affected when it runs that package, or openssh-server-pam with UsePAM set to no, has password authentication switched on, holds an account whose password field is '', and holds at least one other account with a $5$ or $6$ password hash. The root account ships as root: in Alpine images since about version 3.16, but OpenSSH's default setting blocks password logins for root, so root is only reachable when PermitRootLogin is set to yes. Other accounts that can log in and then gain root, for example through doas, are the real risk. Alpine's official tiny-cloud images from versions 3.18.11 through 3.24.3 ship an 'alpine' user with a '*' password field and passwordless doas, so an attacker who logs in as that user can become root at once.

Most servers are not affected. Ubuntu, Debian, Fedora and Red Hat use glibc rather than musl, so the flaw does not apply to them. Systems that use PAM for password checks are safe, as are systems with password authentication switched off and accounts locked with '!' in the password field. Docker and other container users are safe when they do not run sshd inside the container. Cloud images set up through cloud-init write PasswordAuthentication no, so they are safe too.

Exploitation is already happening

CISA added CVE-2026-123158 to its Known Exploited Vulnerabilities catalogue on 9 November 2026, citing evidence of active exploitation. The same alert added three other flaws, in GPUStack, SignalWire FreeSWITCH and IBM Aspera Faspex. CISA set 12 November as the deadline for US federal civilian agencies to fix the OpenSSH flaw. GreyNoise, which runs honeypots that record attack traffic, has logged exploit attempts and shell commands tied to the flaw through 17 November, including commands that probe system files and account details.

The fix is straightforward. Alpine published fixed openssh packages for its branches, from edge at 10.6p2-r0 down to 3.16 at 9.0p1-r6, and OpenSSH 10.6p2 carries the upstream workaround. After installing the fixed package, operators must restart sshd, because upgrading the package alone does not replace the running service. Alpine's command is rc-service sshd restart. Operators who cannot update yet should set PasswordAuthentication no in sshd_config and restart sshd, after first making sure key-based login works.

To check whether a machine was hit, Alpine advises looking in /var/log/messages for sshd lines reading 'Accepted password for' an account that has no password, and reviewing doas use, newly created users, changed files and changes to authorised keys. If an attack cannot be ruled out, the machine should be treated as compromised.

A wider warning about AI-found bugs

The release notes carry a wider warning. The OpenSSH team said it has received a large number of security bug reports, many of them findings from AI models or made with AI assistance. Several bugs found by AI tools were later found independently by a different researcher, which suggests attackers who do not report bugs can find them too. The team said it will release fixes more often rather than batching them until the next planned release.

What happens next: Alpine operators should patch and restart sshd now, and anyone running musl-based Linux without PAM should check whether sshd is exposed. The flaw is narrow, but it is already being used, and the window between disclosure and exploitation was measured in hours, not weeks.