CVE-2026-123158
sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentic…
Mitigation
- Upgrade OpenSSH to 10.6p2 or later.
Who should check
- Anyone running OpenBSD OpenSSH < 10.6p2
Vulnerability facts
- Affected
- OpenBSD OpenSSH < 10.6p2
- Fixed in
- OpenBSD OpenSSH 10.6p2
- Exploited in the wild
- Yes: in CISA KEV since 2026-11-09; federal due date 2026-11-12
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 14.21% chance of exploitation in 30 days (percentile 97, 2026-11-26)
- CWE
- CWE-394
- Modified
Description
sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentication bypass (related to misinterpretation of whether a string is intended to be a password hash). For some configurations of accounts, any password between 256 and 1024 characters succeeds. An example of a platform using musl libc without PAM is Alpine Linux.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| OpenBSD OpenSSH | < 10.6p2 | — | cvelist |
Timeline
- 2026-11-05 Published
- 2026-11-09 Added to CISA KEV (exploited in the wild)
- 2026-11-10 Last modified
- 2026-11-12 CISA remediation due date for US federal agencies
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-123158. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-123158.md Affected: OpenBSD OpenSSH < 10.6p2 Fixed in: OpenBSD OpenSSH 10.6p2 Steps: 1. Search this machine and project for OpenBSD OpenSSH: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Exploits and PoCs
Other
- https://www.openssh.org/releasenotes.html#10.6p2
- https://news.ycombinator.com/item?id=50377976
- https://news.ycombinator.com/item?id=50378228
- https://hachyderm.io/@damienmiller/117563026759098135
- https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/
- https://news.ycombinator.com/item?id=50379704
- https://github.com/coollabsio/coolify/discussions/12484
- https://github.com/panubo/docker-sshd/issues/93
- http://www.openwall.com/lists/oss-security/2026/11/09/27
- https://sshole.events.greynoise.io/
- https://isc.sans.edu/diary.html?storyid=33498
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-123158
FAQ
Is CVE-2026-123158 being exploited?
Yes. CISA lists CVE-2026-123158 in its Known Exploited Vulnerabilities catalog since 2026-11-09, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 14.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-123158?
High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-123158?
OpenBSD OpenSSH < 10.6p2.
Is there a fix for CVE-2026-123158?
Yes. Fixed in OpenBSD OpenSSH 10.6p2. Upgrade OpenSSH to 10.6p2 or later.
How do I check if I'm affected by CVE-2026-123158?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.