Work top to bottom. Check the box when done, note what you found. Detection and exposure review only — do not try a password against sshd. This lab does not include exploit steps. The bypass has no separate sshd message: a hit looks like a normal accepted password login.
CISA KEV status
- CVE-2026-123158 · OpenBSD OpenSSH · in CISA KEV (“OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability”) · added 2026-11-09 · federal due 2026-11-12
Sources: CISA KEV · NVD · Vendor advisory: OpenSSH 10.6p2 release notes
Verified against CISA KEV on 2026-12-04 (catalog version 2026.12.03). Re-checked weekly by
tools/verify_kev.py.
Confirm the configuration from official text. Leave a box unchecked when you cannot show it from the host.
sshd. Record ssh -V and the distro package version
(apk info openssh on Alpine, or the equivalent). Do not paste password
hashes into the ticket.sshd when built and run with PAM support
disabled. OpenSSH considers the root cause to be outside sshd.openssh-server (built without PAM), or openssh-server-pam with
UsePAM no. openssh-server-pam with UsePAM yes is not affected.
- PasswordAuthentication is yes (the OpenSSH default unless changed).
- Some account’s password field is exactly *. Alpine names: root
(ships as root:* in the base image since about Alpine 3.16), a
key-only user created with adduser without a password or
usermod -p '*', a directory-service user via musl-nscd (nslcd,
winbind, sssd) with no shadow entry, and the alpine user in the
official tiny-cloud images.
- At least one local account has a $5$ or $6$ password hash.sshd; PasswordAuthentication no;
openssh-server-pam with UsePAM yes; the only empty-looking accounts
are locked with !; no account has a $-style hash; cloud-init wrote
PasswordAuthentication no.PermitRootLogin prohibit-password protects root, so root is reachable
only if PermitRootLogin yes is set. A different * account that can
become root (Alpine’s example is doas) is still in scope.sshd -T | grep -iE 'passwordauthentication|usepam|permitrootlogin'*, !, or hash. That list is the inventory
the detector joins to the log.Alpine fixed openssh packages (Alpine advisory, 2026-11-05):
| Branch | Fixed package |
|---|---|
| edge | 10.6_p2-r0 |
| 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 |
Alpine 3.21.10, 3.22.8, 3.23.8, and 3.24.4 contain the fixed package. Images
built from 3.21.10, 3.22.8, 3.23.8, 3.24.4, and later include it. 3.21 reached
end of support on 2026-11-01; Alpine still published fixed packages back to
3.16. Upgrading the package does not replace a running sshd. Restart it
(rc-service sshd restart on Alpine) after the upgrade.
NVD describes Alpine as one example of musl without PAM. This checklist does not add other distributions: no official source used here names them.
There is no unique exploit string. Hunt the line Alpine names.
/var/log/messages on Alpine. Other hosts often use
/var/log/auth.log or the journal (sshd / sshd-session). Same
message text.Accepted password for <user> when <user> is on the * list.Failed password (Alpine says the bypass takes one
connection and needs no retries — failures are not the signal),
Accepted publickey (normal for a key-only account), Accepted password
for an account whose field is a hash, and Accepted password for a
locked ! account.Alpine: set PasswordAuthentication no, then restart sshd. Confirm key
login in a second session before you close the one you have. Either the
fixed package or password authentication disabled closes the condition
Alpine describes. Restart is required in both cases.
forensicTriage: Yes)knownRansomwareCampaignUse in the KEV feed is Unknown. Do not upgrade
that to a named campaign. Alpine’s check, in their words: review doas use
and recently created users, files, and authorized keys on exposed machines.
If you cannot rule out a login, treat the machine as compromised.
Accepted password for a * account, with timestamp, source
address, and usernameauthorized_keys files added or changed in that windowdoas (or other privilege) use by those accountssshd (package upgrade and restart)Accepted password for a * account → incident candidate. Patching
alone does not answer whether that login happened.Accepted password for a user not in the census → census gap, not yet
this CVEFailed password, or only Accepted publickey → not the advisory
signal. Still finish §1 if the host is in the affected configuration.From the repo root:
python3 07-kev-hunting/detect/cve-2026-123158-detect.py \
07-kev-hunting/samples/openssh-auth.log
Expect one [INCIDENT] (RFC 5737 203.0.113.50, users alpine and root)
and one [SUSPICIOUS] (198.51.100.40, user contractor, not in the
inventory). Publickey logins, the admin password login, the locked nobody
login, and the failed passwords must not appear. All lines are synthetic
training data.
| Fact | Source |
|—|—|
| In CISA KEV; vendor OpenBSD; product OpenSSH; name “OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability”; added 2026-11-09; federal due 2026-11-12; knownRansomwareCampaignUse Unknown; forensicTriage Yes; CWE-394; short description is an unexpected status code or return value on Linux that could allow authentication bypass | CISA KEV JSON |
| sshd in OpenSSH before 10.6p2 on Linux, musl libc, without PAM; misinterpretation of whether a string is a password hash; for some account configurations any password between 256 and 1024 characters succeeds; Alpine Linux is the example platform; CWE-394 (MITRE); CVSS 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (MITRE, secondary). NVD vulnStatus was Received (published 2026-11-05, last modified 2026-11-08) when this pack was written — there is no separate NVD-enriched primary score in that record. SSVC (CISA Coordinator, 2026-11-05): exploitation poc, automatable no, technical impact total | NVD (API: https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-123158) |
| 10.6p2 released 2026-11-05; workaround for Linux + musl + PAM disabled; bypass exploitable through sshd when built and run with PAM disabled; root cause considered outside sshd; reported by Özgün Kültekin of Wakefield | OpenSSH 10.6p2 release notes |
| Who is affected and who is not, * vs !, $5$/$6$ condition, PermitRootLogin, tiny-cloud alpine user, fixed package table, restart requirement, PasswordAuthentication no mitigation, and the log hunt Accepted password for an account with no password | Alpine Linux advisory, 2026-11-05 |
| Upstream fix commit cited by the KEV notes and by NVD. Not a log source | openssh-portable 4353fdc |
Not confirmed, so not used as indicators: any non-Alpine distribution, a distinct sshd error string, the password itself, and which of 256 or 257 is the lower length bound.