AI Wiki · Mediocre Security
IncidentIncidents

OpenSSH "sshole" login bypass (CVE-2026-123158)

On musl-based Linux without PAM, such as Alpine, sshd let anyone log into password-less accounts with an overlong password; found with AI agent swarms, exploited within nine hours and added to CISA KEV.

What happened

CVE-2026-123158, nicknamed “sshole”, is a password-authentication bypass in sshd before OpenSSH 10.6p2 on Linux systems that use the musl C library without PAM. Alpine Linux builds its default openssh-server package that way. On an affected host, an attacker who can reach the SSH port can log into an account that has no usable password (a * in /etc/shadow) by sending a password longer than 256 bytes, in one connection. Password logins must be enabled (the OpenSSH default) and another local account must have a real password hash. OpenSSH 10.6p2 and patched Alpine packages shipped on Nov 5 2026.

Researcher Özgün Kültekin of Wakefield, credited in the release notes, traced the bug to two old choices. In 2016, to stop attackers learning which usernames exist (CVE-2016-6210), OpenSSH began hashing a dummy password for accounts with no usable hash. Since 2012, musl’s crypt() has refused SHA-256 and SHA-512 passwords longer than 256 bytes and returned * on failure, which matches the * stored for password-less accounts, so sshd lets the login through. Kültekin says he tested about 17,600 unusual login attempts across many sshd builds, and that he did it with “agent swarms”, not alone (as reported by Help Net Security).

Exploitation

Threat-intelligence firm Previdian said its first observed attempt came less than nine hours after the CVE was published, and that one attempt got root on a honeypot running real Alpine Linux and OpenSSH; it counted eight attempts from a single address. Previdian’s founder said attackers are getting faster with AI help and that this bug was trivial to exploit. CISA added the CVE to its Known Exploited Vulnerabilities catalog on Nov 9 2026.

On Alpine’s official AWS and Azure cloud images the default alpine user has passwordless doas, so a successful login can mean root. Glibc systems (Debian, Ubuntu, Fedora), setups that use PAM, Dropbear and OpenBSD are not affected. OpenSSH developer Damien Miller urged anyone on musl without PAM to disable password authentication at once. Upgrading the package does not restart a running sshd, so the service must be restarted.

Why it matters

It fits the pattern on the AI and CVEs page: a flaw born of decade-old design choices, found by a researcher working with AI agents, and exploited within hours of disclosure.

Timeline

Every dated event in the wiki that involves OpenSSH "sshole" login bypass (CVE-2026-123158), newest first.

Connections

OpenSSH "sshole" login bypass (CVE-2026-123158) and everything one link away. Drag to move, scroll to zoom, click a node to open it.Open in the full graph →

What links here

Concept AI and CVEs: latent flaws, now exploitable

Sources

  1. Help Net Security, “OpenSSH flaw exploited in the wild just hours after disclosure (CVE-2026-123158)”, Nov 6 2026
  2. Astra Security, “CVE-2026-123158 (*sshole)”, Nov 2026
  3. CISA, “Known Exploited Vulnerabilities Catalog (JSON feed)”, Nov 9 2026