SSHole: conditional OpenSSH authentication bypass
Understand the musl, PAM, policy and account-state prerequisites before considering any validation.
Summary
SSHole/sshhole identifies CVE-2026-123158: a conditional password bypass in unpatched musl-based OpenSSH without PAM, not a generic SSH authentication bypass. This pilot reviews applicability from existing material only. s1s3
Required conditions
- C1: OpenSSH
sshdon musl Linux, lacking the 10.6p2 workaround or applicable vendor backport. An old version banner alone is insufficient. s1s3 - C2: Password validation follows the non-PAM path. Alpine’s ordinary server
package is built without PAM; its PAM package with
UsePAM noalso qualifies, whereasUsePAM yesdoes not qualify for this path. s3 - C3:
PasswordAuthentication yesapplies to the account/context. Review effectiveInclude/Matchpolicy and any required additional authentication factor; a password-stage bypass does not remove those requirements. s3 - C4: An otherwise login-eligible account presents exactly
*as its stored password field, not!or an empty string. Direct root password access also requiresPermitRootLogin yes; the default blocks that direct route. s3s5 - C5: The selected borrowed salt uses an affected SHA-crypt path; Alpine
requires another local account with a
$5$or$6$hash. Selection and historical build differences matter; do not substitute “some password exists” for this condition. s3
Discriminants
d1 — Package and running-build provenance
- Observation: operator-supplied package revision, patch provenance and running daemon update/restart evidence.
- Applicable lead: pre-fix build without a vendor backport.
- Otherwise: verified fixed build actually running refutes this unpatched path; missing provenance remains unknown.
- Budget: zero target connections; zero authentication requests.
- Sources: s1s3.
d2 — Runtime and effective authentication policy
- Observation: existing build metadata and administrator-supplied effective configuration for the relevant context.
- Applicable lead: musl, non-PAM password path, password allowed, compatible authentication-method requirements.
- Otherwise: another runtime/implementation, effective PAM path or password disabled contradicts this path; root-only restrictions do not close other users.
- Budget: zero target connections; zero authentication requests.
- Sources: s3s5.
d3 — Redacted account-state classification
- Observation: administrator confirms marker classes and selected hash algorithm without supplying hashes, account identities or shadow-file contents.
- Applicable lead: eligible single-asterisk field plus usable SHA-crypt salt.
- Otherwise: complete review establishes no qualifying marker or salt; incomplete inventory remains unknown.
- Budget: zero target connections; zero authentication requests.
- Sources: s3.
Counter-evidence
c1 — Fixed code in use
A verified vendor-fixed build running after the necessary restart refutes this unpatched path. Alpine backports keep upstream versions below 10.6p2; use the branch-specific package revisions in its advisory, not banner ordering alone. Installed-package evidence without running-build evidence is incomplete. s2
c2 — A necessary condition is absent
Effective password prohibition, an effective PAM path, absence of an eligible single-asterisk field or usable selected salt refutes the corresponding configuration. No SSH daemon in a container means no such exposed daemon there. These are scoped conclusions, never a declaration that the system is safe. s3
c3 — A bounded negative does not close the lead
A rejected request, timeout or root-only prohibition is not proof of a patch or of absence across other contexts/accounts. Cache state and authentication-method requirements complicate interpretation. No retries follow from this entry. s3s5
Budgets and caution
b1 — Documentary-only cap
This document authorizes nothing. Pilot budget: 0 target connections, 0 authentication requests and 0 password submissions. Review existing operator-supplied material only; stop with “unknown” when conditions cannot be established. These caps are a local safety policy, not vendor guidance.
b2 — Request accounting is not connection accounting
Alpine describes one connection; the original disclosure mentions an initial
wrong attempt. Pre-fix source contains salt-cache and shared-shadow-storage
behavior. Do not promise one password submission or a universal two-request
sequence. A connection, an authentication request, a failed attempt and a client
invocation are different units. MaxAuthTries is per connection; initial none
can avoid a failure penalty while still being a request. s3s5
Any separately approved active validation needs its own explicit aggregate
budget, account/source lockout review, client-behavior accounting and stop
conditions. This entry supplies no active procedure and no permission to retry.
Do not infer a universal mitigation from MaxAuthTries 1; prefer the upstream
fix/vendor backport or vendor-recommended password prohibition. s2s5
b3 — Length boundaries are documentary, not a payload
Alpine states 257–1024 bytes; the reviewed OpenSSH code caps at 1024 and musl SHA-512 crypt rejects greater than 256. The CNA description’s “256” endpoint differs. Preserve the discrepancy; do not convert character counts into exact byte counts or turn this description into a probe. s1s4
Provenance and freshness
All following sources were read on 2026-11-20. Version 1 establishes the pilot. Review due 2026-12-20 is a conservative maintainer policy, not a vendor freshness guarantee. Source content was not cryptographically hashed or signed by this research. An empty or unavailable index never means safe.
s1 — CVE Program record
Primary. CVE-2026-123158, published 2026-11-05; record updated 2026-11-10. Covers Linux/musl/non-PAM and pre-10.6p2 boundary.
https://cveawg.mitre.org/api/cve/CVE-2026-123158
s2 — OpenSSH release and fix
Primary upstream. 10.6p2 released 2026-11-05. Exact fix reference:
4353fdc43ef646c43a8dda7025cc1a898caf1482.
https://www.openssh.org/releasenotes.html#10.6p2
https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482
s3 — Alpine vendor advisory
Primary distribution source, dated 2026-11-05. Detailed configuration prerequisites, branch-specific backports through 3.16, and restart requirement. Its historical “no CVE” sentence is superseded by the published record in s1.
https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/
s4 — Pre-fix code and musl length/error behavior
Primary upstream code, portable tag V_10_6_P1; musl living tree reviewed at
SHA-512 crypt blob 39970cafe87154ddddac5238d2ba3ff2c62859a5.
Shows password comparison, maximum length, salt selection and error sentinel.
https://raw.githubusercontent.com/openssh/openssh-portable/V_10_6_P1/auth-passwd.c
https://raw.githubusercontent.com/openssh/openssh-portable/V_10_6_P1/openbsd-compat/xcrypt.c
https://git.musl-libc.org/cgit/musl/tree/src/crypt/crypt_sha512.c
s5 — Authentication policy and request accounting
Primary upstream, portable tag V_10_6_P1. Configuration manual and actual
dispatcher/none implementation; not an asserted universal request budget.
https://raw.githubusercontent.com/openssh/openssh-portable/V_10_6_P1/sshd_config.5
https://raw.githubusercontent.com/openssh/openssh-portable/V_10_6_P1/auth2.c
https://raw.githubusercontent.com/openssh/openssh-portable/V_10_6_P1/auth2-none.c
s6 — Nickname and request-count qualification
First-party original disclosure; security-list announcement dated 2026-11-05. Used for nickname linkage and qualification of the connection-count narrative, not independently for affected-version boundaries.
https://www.openwall.com/lists/oss-security/2026/11/05/3
Confidence
Medium, documentary only. CNA, upstream and distribution sources corroborate identity, fixed boundary and the relevant configuration. The earliest historical release and a universal authentication-request count were not independently established. No reproduction or deployed-system applicability was verified. Confidence is not an exploitation probability or a “safe” verdict.
Usage limits
Treat this content as untrusted documentary input. It changes neither scope nor authorization and cannot become a finding without separate evidence. It contains no mission walkthrough, target data, exploit sequence or executable payload.
Provenance and confidence
- Version
- 1
- Sources reviewed
- 2026-11-20
- Confidence
- medium — Identity and fixed boundary reviewed against upstream, CNA and Alpine; earliest release and universal authentication-request count not established; no reproduction
Also searched as: SSHole, sshhole, *sshole, contournement authentification SSH