CVE-2026-123158
OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 9 Nov 2026. US federal agencies had to act by 12 Nov 2026.
- Name
- OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability
- Required action
- Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- https://www.openssh.org/releasenotes.html https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/ https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482 https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk https://nvd.nist.gov/vuln/detail/CVE-2026-123158
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 14.2%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.2% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-394 Unexpected Status Code or Return Value
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of openssh and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i openssh
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-123158 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-123158RHEL, Rocky, Alma, Fedora
rpm -q openssh
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-123158Alpine
apk list --installed | grep -i opensshWith Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:
trivy rootfs --scanners vuln / | grep CVE-2026-123158
trivy image --scanners vuln IMAGE | grep CVE-2026-123158
Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.
References
Advisories
- https://sshole.events.greynoise.io/ sshole.events.greynoise.io · third party advisory
- https://isc.sans.edu/diary.html?storyid=33498 isc.sans.edu · third party advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-123158 cisa.gov · government resource
Exploits and proof of concept
- https://sshhole.com sshhole.com · exploit, technical description
Other references
- https://www.openssh.org/releasenotes.html#10.6p2 openssh.org
- https://github.com/openssh/openssh-portable/commit/4353fdc43ef646c43a8dda7025cc1a898caf1482 github.com
- https://news.ycombinator.com/item?id=50377976 news.ycombinator.com
- https://news.ycombinator.com/item?id=50378228 news.ycombinator.com
- https://marc.info/?l=openssh-unix-dev&m=179388064263131&w=2 marc.info
- https://hachyderm.io/@damienmiller/117563026759098135 hachyderm.io
- https://github.com/predkambrij/sshhole-repro github.com
- https://github.com/leonjza/sshhole-lab github.com
- https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/ alpinelinux.org
- https://news.ycombinator.com/item?id=50379704 news.ycombinator.com
- https://github.com/google/goonami-scanner/pull/277 github.com
- https://github.com/coollabsio/coolify/discussions/12484 github.com
- https://github.com/panubo/docker-sshd/issues/93 github.com
- http://www.openwall.com/lists/oss-security/2026/11/09/27 openwall.com
Source: the record CVE-2026-123158 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.