CVE-2026-123158: SSHole
- Vendor
- Openbsd
SSHole is a password-authentication bypass affecting portable OpenSSH sshd 7.3p1 through 10.6p1 on Linux when linked against musl libc and performing password verification without PAM, unless a vendor has backported the fix. In sys_auth_passwd(), OpenSSH can mistake musl crypt()'s '' error return for a successful match against an account whose stored password field is exactly ''. The demonstrated SHA-256 and SHA-512 hashing paths return this marker for passwords longer than 256 bytes, while OpenSSH accepts inputs up to 1024 bytes. Borrowed-salt caching and shared shadow-password-buffer handling contribute to a two-attempt sequence within one SSH connection. Successful exploitation permits authentication to an eligible account without a valid password or SSH key. Alpine Linux's non-PAM OpenSSH packages are a prominent affected configuration.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated remote attacker can obtain SSH access with the targeted account's permissions, potentially enabling interactive command execution, file access, SFTP, or network forwarding according to server restrictions. Root compromise is possible if password-based root login is permitted or the compromised account has a separate elevation capability, such as passwordless doas on certain Alpine tiny-cloud images. Follow-on consequences can include credential theft, data modification or destruction, persistence, and lateral movement. Root access and unrestricted shell access are not guaranteed by the bypass alone.
Mitigation
If you can’t patch tonight, do this now.
Until patching is complete, disable SSH password authentication with PasswordAuthentication no after confirming working public-key access. Validate and apply the effective configuration, including conditional Match blocks, and restart sshd. Restrict SSH access to trusted management networks, bastions, or VPNs, or stop the service if access cannot be safely restricted. Switching to a PAM-enabled build with PAM authentication enabled avoids the vulnerable direct crypt() path. Setting MaxAuthTries to 1 can temporarily block the documented two-attempt sequence but is not a substitute for patching or disabling password authentication. Remove unnecessary passwordless privilege-elevation permissions to limit post-compromise impact.
Remediation
Patch, then assume compromise.
Upgrade to OpenSSH 10.6p2 or later, or install the distribution's package containing the backported fix, then restart sshd so the running daemon uses the patched code. Verify the complete vendor package revision rather than relying solely on the upstream version or SSH banner. Alpine fixed releases include 3.21.10, 3.22.8, 3.23.8, and 3.24.4, with patched packages also available for older branches back to 3.16. Rebuild and redeploy affected container images, cloud images, and templates, and remediate existing instances separately. The fix rejects stored password fields shorter than four characters and corrects password-buffer ownership and copying. Investigate unexpected successful password logins to accounts with '*' password fields; if unauthorized access cannot be ruled out, treat the host as compromised, rebuild as appropriate, and rotate exposed secrets.
Exploits
23 exploits validated by Mallory's analysis. Hidden: 30 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-123158 exploited in the wild?
- Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 9, 2026.
- Is there a public exploit for CVE-2026-123158?
- Yes. Mallory tracks 23 public exploits or proofs of concept for CVE-2026-123158, the earliest disclosed Nov 5, 2026.
- Is there a patch for CVE-2026-123158?
- Upgrade to OpenSSH 10.6p2 or later, or install the distribution's package containing the backported fix, then restart sshd so the running daemon uses the patched code. Verify the complete vendor package revision rather than relying solely on the upstream version or SSH banner.
- What products are affected by CVE-2026-123158?
- Openbsd Openssh.
- How severe is CVE-2026-123158?
- CVE-2026-123158 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 89.6% (100th percentile) as of Nov 28, 2026.
Recent activity
444 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.