When an Error String Becomes a Password

Key Takeaways
- •CVE-2026-123158 let attackers bypass OpenSSH passwords on musl systems because an error indicator matched the value stored for passwordless accounts.
- •Examines the chain needs two conditions, analyzing the structural bottlenecks and trade-offs in real-world deployments.
- •Provides engineering benchmarks and verification criteria for a sentinel treated as a credential.
OpenSSH released version 10.6p2 on 5 November 2026 to fix a password authentication bypass tracked as CVE-2026-123158. The mechanism is a coincidence of symbols: musl's crypt returns the literal string asterisk when it cannot process a key, and an asterisk is exactly what the password field holds for accounts that have no password. The comparison matches. Authentication succeeds for the wrong reason.
The chain needs two conditions
Password verification without PAM uses the C library's crypt function. sshd reads the stored password field, extracts the salt, hashes the supplied password with it, and compares.
The flaw appears when the stored field cannot contain a salt, which happens for accounts with a single character in the password field, such as key-only users. In that case sshd borrows a salt from a different account that has a proper hash so the comparison can proceed.
Then musl enters. Given a key longer than 256 bytes, it cannot process the input and returns the asterisk as an error indicator. sshd compares that return value against the stored field, which is also an asterisk, and the strings match.
Both halves have to be present. A glibc system does not return an asterisk on overflow. A musl system where every account has a real hash has no asterisk field to match. The Alpine advisory lists the full precondition set: musl libc, PAM disabled, password authentication enabled, at least one account with a star in the password field, and at least one account with an MD5 or SHA-512 hash.
A sentinel treated as a credential
The asterisk means that an account has no password in the password file. The asterisk also means that musl's crypt could not process the input it was given. Code that compares them is comparing two different meanings of the same symbol.
That kind of flaw is nearly invisible to review. The stored value is a legitimate marker and the function return is a legitimate error path. The bug lives in the interaction, and neither line looks wrong on its own. A reviewer reading the comparison sees a password check. A reviewer reading crypt sees standard error handling.
NVD scored it 8.1 and published on 5 November. NVD states any password between 256 and 1024 characters succeeds, while Alpine states 257 to 1024 bytes, an off-by-one and a unit discrepancy that both sources leave in place.
Where the exposure actually is
The blast radius is narrower than "OpenSSH is vulnerable" suggests, and that distinction is worth stating plainly. Alpine Linux is the major distribution that uses musl by default, and Alpine is heavily used in containers. A container running sshd on Alpine with password authentication on and a key-only account present is the exposure. A Debian or RHEL host running OpenSSH is not.
Alpine confirms every release from 3.16 through 3.24 and edge were affected, with fixes backported to 10.3_p1-r2 for 3.24, 10.2_p1-r1 for 3.23 and 10.6_p2-r0 for edge. Upgrading the package is insufficient: sshd must be restarted. That detail matters in container fleets, because a container that is rebuilt picks up the fix and a container patched in place may keep running the vulnerable daemon until it is recycled.
Mitigation without patching is to set PasswordAuthentication to no, which removes the code path entirely.
Exploitation was real within a day
CISA added the CVE to the KEV catalogue on 9 November with a 12 November deadline, a three-day window that leaves operations teams a weekend. Attempts began on 6 November. GreyNoise recorded its first honeypot hit on 7 November at 12:46 UTC, with post-exploitation activity traced to six source IPs across 18 attack chains.
What the actors did after access is the part that indicates intent. The chains included cloud metadata queries, reading password hashes and root SSH keys, and modifying authorized_keys for persistence. At least one case deployed a Python command-and-control agent with shell execution, reconnaissance, file transfer and self-update capability. watchTowr observed weaponisation for botnet and cryptominer activity.
A three-day deadline for a flaw that appears on honeypots within a day of publication describes a population that is already being scanned. The patch deadline is not advice about risk. It is a statement that the window has closed.
What the advisories do not settle
The number of systems compromised is unknown, and whether any of them were production rather than honeypots is not published. The identity of the actors is unstated. The name SSHole is community-assigned and never appears in OpenSSH's release notes.
CISA files the CVE under vendor OpenBSD and product OpenSSH even though the flaw only manifests on musl Linux, so a defender filtering the catalogue by vendor can miss an entry that applies to their Alpine fleet. That filing is technically correct at the software level and misleading at the platform level, and it is the kind of detail that decides whether a patch gets applied on time.



