News / SSH / Linux / Security / Packages
OpenSSH Authentication Bypass: Alpine Attacks
By Loopback Updated 6 min read

Attackers have used the OpenSSH authentication bypass known as SSHole to execute commands on vulnerable research sensors. The defect, CVE-2026-123158, affects musl-based Linux configurations, including Alpine. Portable OpenSSH 10.6p2 and Alpine's backported packages close the password-checking flaw.
This revision follows the November 9 exploitation reports, with sources checked on November 10, 2026. It updates our November 5 remediation article.
What GreyNoise observed
GreyNoise's tracker recorded its first successful exploitation at 00:46:51 UTC on November 7. Its November 10 snapshot, updated at 04:40 UTC, lists 18 confirmed post-exploitation chains. The November 9 coverage cited 16, so that earlier count is no longer current.
GreyNoise defines a successful chain as operating-system commands running on a vulnerable gridpoint, grouping host sessions without a gap longer than 30 minutes. The count measures attacks on GreyNoise research infrastructure. It does not identify 18 compromised production organizations. Its much larger SSH connection and port-scanning totals are not counts of confirmed SSHole attacks.
The tracker describes reconnaissance and attempts to read credentials. In one cluster it observed a Python implant, TAC Agent, and a startup service. The implant failed to enroll with its command server and never received a task, although the attacker had already executed commands. GreyNoise labels its detailed agent analysis as LLM-generated and subject to revision. We have not independently analyzed the sample.
These observations justify checking exposed systems for prior access. They do not establish a worldwide victim count or identify the people operating the infrastructure.
Check the server configuration before judging exposure
Alpine's advisory identifies four conditions that must coincide:
- An affected
sshduses musl with PAM disabled, including Alpine's non-PAMopenssh-server. - The server permits password authentication.
- A reachable account has
*as its password field. - Another local account has a password hash beginning
$5$or$6$.
PAM is a framework that delegates authentication to configured modules. Installing the PAM-capable package is insufficient if it runs with UsePAM no. A server that permits password authentication can also expose a key-only account. The * marker is not a valid password hash.
Direct root login also depends on PermitRootLogin. The default prohibit-password blocks that route, but an ordinary account may have passwordless administrative privileges. Alpine warns about older tiny-cloud images whose alpine account can use doas to become root.
A container must run sshd for this SSH attack path to exist.
The upstream release notice scopes the workaround to Linux using musl with PAM disabled, which excludes native FreeBSD OpenSSH. A FreeBSD host running an affected Alpine guest still needs that guest assessed separately. Do not infer guest safety from the host operating system, or treat this disclosure as evidence that all OpenSSH installations are vulnerable.
An error marker mistaken for a password hash
Researcher Özgün Kültekin's disclosure explains the mismatch. Password checking normally hashes the supplied password and compares the result with the stored field. For oversized password inputs, musl's crypt() reports failure using *. Comparing that error marker with an account field containing the same character can produce a false match.
The salt-selection path explains why another account matters. When the target's field is too short to contain a salt, OpenSSH can borrow one from another account. This interaction crosses the boundary between a library error result and an authentication decision. It does not decrypt an SSH session or recover an SSH private key.
The OpenSSH correction requires a minimum stored-field length before accepting the comparison. Upstream calls this a workaround for a root cause outside sshd. OpenSSH released version 10.6p2 on November 5. Distribution backports mean a lower-looking version string can also contain the correction.
CVE severity and CISA's exploitation listing
The CVE record assigns 8.1 High under CVSS v3.1, from MITRE. The retrieved NVD API attributes that score to MITRE and contains no separate NIST assessment. Snyk assigns 9.2 Critical under CVSS v4.0. Read each score with its CVSS version and assessor.
CISA's official KEV dataset lists the CVE as added on November 9, with a November 12 remediation due date and forensic-triage requirements. Its ransomware-campaign field is Unknown. Private operators should distinguish the federal deadline from their own obligations. For other administrators, observed exploitation makes exposed servers a priority regardless of the numerical score.
Install the fixed Alpine package and restart SSH
The following are documentation-reviewed commands, not results from an Alpine test host. Run administrative commands as root. First confirm console or rescue access, test a separate SSH key login and keep the original session open.
Inspect the installed release, package revisions and effective daemon settings:
cat /etc/alpine-release
apk info -v openssh-server openssh-server-pam
sshd -T | grep -E '^(passwordauthentication|usepam|permitrootlogin) '
Only installed packages should produce version entries. A non-PAM build may omit usepam, which does not establish protection. The Alpine package tracker records fixes by branch. The full revision, including -r, matters:
| Alpine branch | Fixed OpenSSH package |
|---|---|
| 3.24 | 10.3_p1-r2 |
| 3.23 | 10.2_p1-r1 |
| 3.22 | 10.0_p1-r11 |
| 3.21 | 9.9_p2-r1 |
| 3.20 | 9.7_p1-r6 |
| 3.19 | 9.6_p1-r3 |
| 3.18 | 9.3_p2-r4 |
| 3.17 | 9.1_p1-r7 |
| 3.16 | 9.0_p1-r6 |
| edge | 10.6_p2-r0 |
A backported fix for an unsupported branch does not restore general security support. The edge entry identifies its patched package, not a recommendation to switch repositories.
Review /etc/apk/repositories and the proposed package transaction. The Alpine package-manager documentation explains repository and upgrade behavior. Alpine's advisory recommends:
apk upgrade -U -a
sshd -t
The upgrade can change packages beyond OpenSSH. A successful syntax test normally exits without output. Resolve any reported configuration errors before restarting:
rc-service sshd restart
rc-service sshd status
apk info -v openssh-server openssh-server-pam
Now test a fresh connection and administrative access. Keep the original session until those work. If they fail, use the recovery console to inspect the service error and restore a known working configuration. Confirm the restarted daemon uses the patched package.

Temporarily disable password authentication
When patching must wait, verify a new key login first. Back up the active configuration and included files before editing the applicable setting:
PasswordAuthentication no
The server configuration manual documents includes and Match rules, which can prevent an appended line from overriding an earlier value. Preserve working key authentication and examine any connection-specific exceptions.
Use the daemon's configuration-test options before restarting:
sshd -t
sshd -T | grep '^passwordauthentication '
The expected setting is passwordauthentication no. Plain -T does not test every possible Match condition. For a representative connection, replace these documentation-only values with the relevant account and addresses:
sshd -T -C user=admin,addr=192.0.2.10,host=client.example,laddr=192.0.2.20,lport=22 | grep '^passwordauthentication '
Restart only after validation, then test another key login. Restoring password authentication on an unpatched vulnerable server reopens this route. Keep network access restricted during recovery.
Review successful logins after applying the fix
Search retained local and centralized authentication logs for successful password logins to accounts that should not have usable passwords. Alpine identifies /var/log/messages as a starting point:
grep 'Accepted password for' /var/log/messages
Review rotated files, unexpected administrative commands and changes to authorized keys. A quiet current log cannot establish that no earlier access occurred. Preserve evidence before rebuilding a suspected compromised host, and assess credentials available to that host rather than assuming the patch removed an intruder's access.
Record the installed package revision, restart time and fresh-login result. Our package vulnerability-checking guide explains how vendor advisories and package provenance complement version checks. We did not execute exploits or suspicious payloads for this article. The sensor findings remain attributed to their researchers.
Sources
- GreyNoise's tracker
- Alpine's advisory
- upstream release notice
- Researcher Özgün Kültekin's disclosure
- OpenSSH correction
- CVE record
- Snyk assigns 9.2 Critical under CVSS v4.0
- CISA's official KEV dataset
- Alpine package tracker
- Alpine package-manager documentation
- server configuration manual
- daemon's configuration-test options