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 3.1
8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
14%(down from 19% a week ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2026-11-09, due 2026-11-12
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2026-11-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Show the promptExplain CVE-2026-123158 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-123158?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-123158?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-123158 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.
Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Red Hat products are not affected by this vulnerability. This issue specifically requires OpenSSH to be compiled and executed against the musl C library (musl libc) without PAM enabled. Red Hat Enterprise Linux and all Red Hat product builds link OpenSSH against the GNU C Library (glibc) and use PAM by default.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
gabrielunknown/CVE-2026-123158_SSHoleHarbor Check: matches CVE11 stars, Python, created CVE-2026-123158 SSHole — OpenSSH authentication bypass via musl crypt() overflow on Alpine Linux (Exploit PoC)
Maalfer/CVE-2026-123158Harbor Check: matches CVE5 stars, Python, created Exploit para explotar la vulnerabilidad CVE-2026-123158 (conocida como sshole).
halilkirazkaya/CVE-2026-123158Harbor Check: matches CVE1 star, Python, created sshole (CVE-2026-123158): OpenSSH password bypass on alpine Linux
crash00xd/CVE-2026-123158_SSHRole_PoCHarbor Check: matches CVE1 star, Python, created Prova de conceito para exploração da vulnerabilidade CVE-2026-123158.
HackSpeak/CVE-2026-123158Harbor Check: matches CVE1 star, Python, created OpenSSH + musl password authentication bypass (sshole) checker: local precondition audit + remote verification; for authorized testing
0xsyr0/CVE-2026-123158-POCHarbor Check: matches CVE0 stars, Python, created Proof-of-concept exploit for CVE-2026-123158, a password authentication bypass in OpenSSH server builds running on musl-based Linux distrib…
Pauloxc6/CVE-2026-123158Harbor Check: matches CVE0 stars, Shell, created A utility script designed to check and test OpenSSH targets for specific vulnerabilities, featuring connection validation, automated versio…
unixsvr4/cve-ssholeHarbor Check: matches CVE0 stars, created Reproducible demo: CVE-2026-123158 (*sshole) OpenSSH + musl libc auth bypass — exploit, mitigation, and why it hid for ~10 years
Cheats121/sshole-CVE-2026-123158Harbor Check: matches CVE0 stars, Python, created Script for CVE-2026-123158, for CTF challenges.
garvthakkar17/sshole-alpine-cve-2026-123158Harbor Check: matches CVE0 stars, Shell, created Research and detection toolkit for CVE-2026-123158 (SSHole), an OpenSSH password authentication bypass affecting certain musl-based Linux s…
kaiqui/cve-2026-123158-labHarbor Check: matches CVE0 stars, Python, created Lab de estudo para CVE-2026-123158 (sshole) - bypass de autenticacao SSH em sshd musl sem PAM
Doseuser/CVE-2026-123158Harbor Check: matches CVE0 stars, Python, created PoC educativo para CVE-2026-123158 (sshole) - bypass de autenticación en OpenSSH sobre musl sin PAM
douglasmun/CVE-2026-123158_sshole_labHarbor Check: matches CVE0 stars, HTML, created Secure-coding laboratory: Docker reproduction of CVE-2026-123158 (sshole) — OpenSSH password-auth bypass on musl/no-PAM, why the default is…
Iperez95-ot/sshole-labHarbor Check: matches CVE0 stars, created A Docker lab that reproduces **"*sshole"** (CVE-2026-123158), an authentication bypass in OpenSSH `sshd` when it is built against **musl li…
aciddust/CVE-2026-123158-LABHarbor Check: matches CVE0 stars, Shell, created musl libc를 쓰는 Apline의 OpenSSH에서 비밀번호 인증을 우회하는 취약점 (sshhole, CVE-2026-123158)을 이해하고 검증하기위해 작성함
D1se0/CVE-2026-123158Harbor Check: matches CVE0 stars, Python, created Entorno A/B en Docker y PoC del bypass de autenticación por contraseña de OpenSSH 10.6p1 sobre musl sin PAM (CVE-2026-123158), con document…
lpizziniacofortinet/cve-2026-123158-openssh-musl-labHarbor Check: matches CVE0 stars, Shell, created Automated Terraform lab environment for OpenSSH on Linux with musl libc without PAM (CVE-2026-123158 research)
Quaerendir/cve-2026-123158-audit0 stars, Shell, created Read-only POSIX sh audit for CVE-2026-123158: OpenSSH password authentication bypass on musl libc without PAM (Alpine Linux)
GarphenGate/cve-2026-123158-defender-toolkit0 stars, Shell, created CVE-2026-123158 (SSHole) defender toolkit: exposure audit, log hunts and a safe password switch-off for OpenSSH on Alpine and other musl sy…
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
Emerging Threats Open ET POLICY OpenSSH Vulnerable Version Banner Observed (CVE-2026-123158) sid 2072752
History
Analyzed by the NVD
EPSS rose to 17% (10% or more)
Changes since this site first stored the record. The same for every record: /api/public/changes.