CVE-2026-123158: OpenSSH on musl libc without PAM allows password authentication bypass
OpenSSH before 10.6p2 on Linux with musl libc and no PAM lets some account passwords of 256 to 1024 characters succeed.
Reported by CISA KEV
First reported Summary updated
- Public PoC
- Yes
- Exploited
- Yes, KEV
- CVSS
- 8.1 High
What happened
OpenSSH sshd before 10.6p2 on Linux, when built with musl libc and without PAM, lacks a workaround for a password authentication bypass.NVD
The flaw relates to misinterpreting whether a string is meant to be a password hash, and for some account configurations any password of 256 to 1024 characters is accepted.NVD
CISA added the issue to its catalogue of known exploited vulnerabilities on 9 November 2026.KEV
Who is affected
- OpenSSH sshd, before 10.6p2 on Linux, when musl libc is used without PAMNVD
Is there a public exploit?
Yes, public Public PoC or exploit code has been published, listed below.
- Reference github.com/leonjza/sshhole-lab
- Reference github.com/predkambrij/sshhole-repro
PoC code comes from strangers and is not checked by us. Read it before you run it, and only run it in a lab or against targets you are allowed to test.
Exploited in the wild?
Yes CISA lists the vulnerability in its catalogue of known exploited vulnerabilities.KEV CISA added CVE-2026-123158 to its catalogue of known exploited vulnerabilities on 9 November 2026, with US federal agencies required to act by 12 November 2026.
What to do
- Apply mitigations in line with vendor instructions and CISA's BOD 26-04 guidance.KEV
Vendor advisories and patches: marc.info/?l=openssh-unix-dev&m=179388064263131&w=2, github.com/openssh/openssh-portable/commit/4353fdc43ef646c43...
For bug hunters
This is an authentication bypass caused by mishandling of credential data, a class that appears wherever login logic compares or parses secrets. In bug bounty programmes, look at custom authentication endpoints, password reset flows and any code that decides whether a supplied value is a hash or a plaintext secret. Test boundary lengths and unusual encodings, and check how the application behaves when PAM or the system C library differs from the expected environment.
What to test
- Submit passwords of 256, 512 and 1024 characters to login endpoints and observe authentication results.
- Test authentication on hosts using musl libc without PAM, such as Alpine Linux containers.
- Check whether long password strings are treated as hashes rather than plaintext secrets.
- Review custom authentication code for length or format checks that can be bypassed.
Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
The article this story is based on. Each headline opens the outlet's own article.
-
1