Last Updated: 2026-11-06T23:52:38Z
Note: This story has been modified from the original post. The original is preserved below.
CVSSv4: 8.1
What’s Happening
On 2026-11-05T08:00:00Z, researcher Ozgun Kultekin with Wakefield disclosed “*SSHole”, an auth bypass of OpenSSH affecting Linux distributions using musl builds of OpenSSH prior to 10.6p2.
The writeup explains that in certain configurations, SSH will allow large passwords (> 256, ≤ 1027 characters) to access root via SSH, regardless of that password’s validity.
NVD published CVE-2026-123158 on the same day.
Affected Distros/Versions
- Alpine Linux: 3.16 - 3.24
- OpenWRT: Current
- Buildroot: Current
- Yocto: Current
Other than Alpine, those are best-effort guesses based on issues/releases.
Required Conditions
The following conditions are required for exploitations:
- Vulnerable musl build of OpenSSH
- A user in
/etc/shadowwith a password entry of* - Another user with a real (and salted) password
- Allowed login of the
*user - Allowed password authentication
- Not using PAM for authentication
Some of this is default in Alpine Linux, but not all. Notably, most containers based on Alpine won’t have both root and another user, and likely won’t have passwords set this way.
Steps to reproduce the vulnerability are detailed below.
Actions
Update all discovered instances of impacted distributions. runZero has added this vulnerability to their SSHamble scanner. Consider using that for discovery.
Notes
Others have reproduced the issue on Yocto.
Step Security has a detailed writeup of exploitation conditions and testing steps.
Original Post
No CVE, but a “cute” name.
“*sshole” allows login to any account if you use a password that is more than 256 characters, but only if the following are true:
- It runs the
openssh-serverpackage, which is built without PAM, or runsopenssh-server-pamwithUsePAM no. PasswordAuthenticationisyes, which is the OpenSSH default.- An account has
*as its password field, which means no password is set. - At least one other local account has a password hash starting with
$5$or$6$.use musl and not PAM, and OpenSSH, and use passwords
This probably mostly affects containers, and Alpine linux. Ideally most containers won’t be running OpenSSH.
A patch is available, OpenSSH 10.6p2
