soc-home-lab

Hunt checklist — CVE-2026-123158 (OpenSSH password authentication bypass)

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

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.

1. Am I even in scope?

Confirm the configuration from official text. Leave a box unchecked when you cannot show it from the host.

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.

2. The log line (detection)

There is no unique exploit string. Hunt the line Alpine names.

3. If you cannot patch yet

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.

4. Forensic triage (CISA KEV 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.

Correlation

Practice on the synthetic sample

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.

Facts used here

| 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.