TL;DR
A flaw in OpenSSH can let an attacker log in to passwordless accounts on certain Linux systems using an overlong password. The issue, tracked as CVE-2026-123158, affects a narrow configuration involving musl, password authentication without PAM, and accounts with a “*” password field. OpenSSH released version 10.6p2 on November 5; GreyNoise reported a successful attack roughly 40 hours later.
OpenSSH released version 10.6p2 on November 5 to fix a flaw that can let attackers log in without a valid password to certain accounts on some Linux systems using musl. Tracked as CVE-2026-123158 and rated High in the supplied source, the bug requires a specific combination of server and account settings; it does not affect every OpenSSH installation.
Get privacy and security gear delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
The bypass occurs when OpenSSH checks passwords without PAM, the common Linux authentication framework. In the affected setup, a password longer than 256 bytes causes musl’s crypt() function to return “*” as an error indicator. Some accounts that have no usable password store the same character in their password field. The matching values can cause the authentication check to succeed.
Alpine Linux says the attack also requires PasswordAuthentication to be enabled, an account with a “*” password field, and at least one local account with a $5$ or $6$ password hash. The supplied material identifies Alpine’s standard openssh-server package as a prominent affected case. OpenSSH published the fix as version 10.6p2.
Exploit code appeared publicly about four hours after the release, according to GreyNoise and BleepingComputer, as summarized in the source. GreyNoise reported its first successful break-in on a sensor about 40 hours after the release. CISA added the vulnerability to its exploited vulnerabilities list on November 9. These reports indicate observed exploitation, though the supplied material does not describe its scale.

Exposure Depends on Server Configuration
The flaw matters most to administrators of Alpine and other musl-based Linux systems that accept SSH password logins without PAM. Under the required conditions, an attacker who can reach the SSH service may access an account that has no usable password. If that account can gain elevated privileges, the consequences can extend beyond the initial login.
Alpine specifically warns that OpenSSH’s default root-login restriction does not protect a system if another reachable account can become root, for example through doas. The source names Alpine cloud images containing an alpine account with a “*” password field and passwordless doas as a scenario that may become exploitable once a qualifying $6$ hash exists. Administrators should check their actual configuration rather than infer exposure from the distribution name alone.
Alpine advises updating OpenSSH and restarting sshd. If an update is not immediately possible, disabling password authentication with PasswordAuthentication no removes a necessary condition for the described attack. Administrators should also review authentication logs for password logins to accounts intended to have no password.
Products Worth Considering

Jackery Explorer 300 Portable Power Station with 40W Solar Panel

Samsung 27-Inch Odyssey G5 QHD Gaming Monitor (G51F)

Bose QuietComfort Wireless Bluetooth Noise-Cancelling Headphones, Sandstone
As an affiliate, we earn on qualifying purchases.
Why the Password Check Failed
On Linux, a password field containing “*” is commonly used for an account that should not authenticate with a password. Alpine’s advisory explains that, in the affected path, musl returns the same character when crypt() receives an overlong password. OpenSSH can then compare an error indicator with the account’s stored field as though it were a password hash.
The parties’ descriptions differ on where the underlying defect belongs. OpenSSH said the root cause is outside sshd, but that it can be exploited through the server and avoided there. Musl maintainer Rich Felker described the issue as an erroneous use of the library by the caller and said musl would likely change the mechanism in an upcoming release cycle.
The supplied material says Debian, Ubuntu and Red Hat report their OpenSSH builds are not affected. Ubuntu cites its use of glibc and PAM; Red Hat says its products are unaffected. Debian’s security tracker lists the fixed upstream version in its unstable branch. The source also reports that Medcrypt reproduced the issue on a stock Yocto image, so embedded Linux deployments may need separate review.
““We consider the root cause of this bug to be outside sshd, but it is exploitable via sshd and can be avoided there.””
— OpenSSH
Embedded Builds Need Checking
The full set of affected systems is not established by the supplied material. It names OpenWrt, Buildroot and Yocto as environments where musl-based builds may be used, and reports Medcrypt’s reproduction on a stock Yocto image. That does not establish that every image or configuration from those projects is vulnerable.
The reports also do not provide a count of affected systems or a measure of the attacks’ broader reach. Exposure depends on the combination of library, authentication path, password-login setting and account records. The source does not say how many administrators have applied the fix since its release.
Patch and Review SSH Access
Administrators should check whether their Linux systems run OpenSSH with musl and whether password authentication is handled without PAM. Those who meet the conditions should install OpenSSH 10.6p2 or the applicable distribution fix and restart sshd. Where patching must wait, disabling password authentication reduces exposure to this bypass.
Teams should review SSH authentication logs for unexpected password logins to accounts intended to be locked, and examine whether any such account can obtain elevated privileges. Embedded-device vendors and maintainers will need to confirm how their builds link OpenSSH and handle authentication. The supplied material says musl may change its error behavior in a future release cycle, but gives no release date.
Key Questions
Does this affect every OpenSSH server?
No. The described bypass requires a particular configuration: Linux with musl, password checks without PAM, password authentication enabled, an account with a “*” password field and a local account with a $5$ or $6$ hash.
What should an administrator do?
Install OpenSSH 10.6p2 or the relevant distribution fix, then restart sshd. If an update cannot be applied promptly, disable password authentication and review logs for unexpected logins to passwordless accounts.
Are Debian, Ubuntu and Red Hat affected?
The supplied source says those distributions report their OpenSSH builds are not affected. Ubuntu cites glibc and PAM, while Red Hat says its products are unaffected. Administrators should check their distribution’s current advisory for their specific packages.
Was the flaw exploited?
GreyNoise reported a successful break-in on one of its sensors about 40 hours after the OpenSSH fix was released. CISA added the flaw to its exploited vulnerabilities list on November 9. The source does not quantify the broader extent of exploitation.
Source: Thorsten Meyer AI
