🔍 Read the full analysis: How The SSHole Bug Connects OpenSSH Passwords To Linux Server Risk on ThorstenMeyerAI.com
Get hardware and tech essentials delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
TL;DR
The SSHole flaw, tracked as CVE-2026-123158, can allow passwordless access to certain accounts on Linux servers running OpenSSH with musl, without PAM, and with password authentication enabled. OpenSSH released a fix in version 10.6p2 on November 5; exploit code appeared hours later, and CISA added the vulnerability to its exploited-vulnerabilities list on November 9. Administrators should update and restart sshd or disable password authentication while they assess exposure.
A flaw in OpenSSH can let attackers access certain accounts without a valid password on Linux servers using musl, password authentication, and a configuration that bypasses PAM. Tracked as CVE-2026-123158 and nicknamed “SSHole” by its finder, the issue is rated High at 8.1; OpenSSH released a fix on November 5, and the U.S. Cybersecurity and Infrastructure Security Agency added it to its exploited-vulnerabilities list on November 9.
The bypass depends on how OpenSSH’s server, sshd, handles password checks when it is not using PAM. According to the Alpine Linux advisory, musl’s crypt() function returns an asterisk when given a password longer than 256 bytes. Some accounts that should not accept password logins have an asterisk in the password field. In the affected setup, the returned error indicator can match that stored field, causing the check to succeed. The source says an attacker can send a password between 257 and 1,024 bytes.
The conditions must coincide: sshd must run on Linux with musl, check passwords without PAM, and have PasswordAuthentication enabled. The system also needs an account whose password field is an asterisk and at least one local account with a $5$ or $6$ password hash. Alpine says one such password-bearing account can provide the salt used in the check. Its standard openssh-server package is a prominent affected configuration.
OpenSSH released version 10.6p2 on November 5. GreyNoise and BleepingComputer reported public exploit code about four hours later, and GreyNoise said its sensor recorded a first successful intrusion about 40 hours after the release. Those reports indicate exploitation was observed, but do not establish how many servers were compromised. Alpine advises installing the fixed package and restarting sshd; installing an update without restarting may leave the running daemon vulnerable.
How SSHole Raises Linux Server Risk OpenSSH password bypass
SSHole can allow passwordless access on a specific set of musl-based Linux servers. Exposure depends on OpenSSH and authentication settings, so administrators should check configurations, patch, restart sshd, and review logs.
When the flaw applies
The listed conditions must coincide for this password-check bypass.
Linux with musl
The affected setup uses OpenSSH on a musl-based Linux system.
No PAM for checks
sshd checks passwords without PAM, and PasswordAuthentication is enabled.
Specific password fields
An account has an asterisk in its password field, and a local account has a $5$ or $6$ hash.
How the check can fail
A long submitted password can make an error indicator look like a stored account value.
The attacker can send a password between 257 and 1,024 bytes.
For passwords longer than 256 bytes, musl’s crypt() returns an asterisk as an error indicator.
That indicator can match an asterisk stored for an account without a usable password.
Exposure varies by system
Administrators should identify the platform and authentication path before deciding how to respond.
- Linux with musl and OpenSSH
- Password checks that bypass PAM
- PasswordAuthentication enabled
- Some custom or embedded builds
- Systems using glibc
- Systems using PAM for password checks
- PasswordAuthentication disabled
- Non-Linux systems and Dropbear
Fix, restart, and review
Public exploit code appeared hours after the fix, and exploitation was later reported.
Risk for Exposed Linux Servers
The bug matters because it can turn a reachable SSH service into an entry point without requiring an attacker to know an account’s password. Alpine’s advisory describes the attempt as requiring one connection rather than repeated guesses. If the compromised account can run privileged commands or gain elevated access, the consequences could extend beyond that account; Alpine specifically warns that a user able to become root through a tool such as doas can create a path to root access.
The affected scope is narrower than “Linux servers” in general. OpenSSH, Alpine, and musl advisories identify musl-based Linux systems with the listed authentication settings. Ubuntu says its OpenSSH builds use glibc and PAM and are not vulnerable; Red Hat also says its products are not affected. This distinction matters for administrators deciding whether to prioritize an emergency configuration change or a package update, but systems with custom or embedded builds still need checking.
The timeline also shows why a patch alone is not the whole response. Exploit code reportedly appeared within hours, and CISA listed the flaw as exploited four days after the fix was released. Administrators of affected or potentially affected servers should check package status, restart the service after patching, and review authentication logs for unusual password logins, especially to accounts intended for key-only access.
Products Worth Considering

Trezor Safe 7 Crypto Hardware Wallet with Bluetooth and Color Touchscreen

LG UltraGear 34G600A-B 34-Inch Curved WQHD Gaming Monitor, 160Hz, FreeSync Premium, HDR10

LG UltraGear 27G640A-B 27-Inch QHD IPS Gaming Monitor, 300Hz, 1ms, G-SYNC Compatible, FreeSync Premium, DisplayHDR 400, HDMI 2.1, USB-C, Adj
As an affiliate, we earn on qualifying purchases.
How the Password Check Fails
OpenSSH’s account-password check interacts with the system’s C library and authentication configuration. In the affected non-PAM path, sshd uses crypt() to process the submitted password. Alpine says musl returns the literal asterisk character as an error indicator when the password exceeds 256 bytes. Because an asterisk can also mark an account that has no usable password, the error result can be mistaken for a matching stored value.
Alpine lists possible affected accounts including key-only users, some directory-service users, and particular root or default-user configurations. Its advisory says official tiny-cloud images from versions 3.18.11 through 3.24.3 include an alpine user with an asterisk password field and passwordless doas. The advisory says those images become exploitable once a $6$ hash exists on the machine. Root itself is generally protected by OpenSSH’s default PermitRootLogin prohibit-password setting, but that does not address a separate account that can gain root privileges.
Systems using glibc, PAM for password checks, or PasswordAuthentication no are listed as not affected by this issue, as are non-Linux systems and systems using Dropbear rather than OpenSSH. The source also says containers that do not run sshd inside them are not affected. Debian’s tracker rates the issue unimportant for its packages and lists the fixed upstream version in its unstable branch. Embedded Linux deployments may require closer review: Medcrypt reported on the oss-security mailing list that it reproduced the issue on a stock Yocto image.
“musl’s crypt() returns the string * as an error indicator when the key is over 256 bytes long. * is also exactly what the stored field contains for every account with no password.”
— Alpine Linux advisory
Scope and Intrusion Details
The available source material does not identify the number of affected servers or the scale of successful attacks. GreyNoise reported a successful break-in on one of its sensors, but that observation does not show how widely the flaw was exploited or whether particular organizations were targeted.
Exposure also depends on the exact operating system, OpenSSH build, authentication settings, and account data. Alpine’s conditions provide a checklist, but administrators of custom builds and embedded products may not know whether their sshd uses musl or avoids PAM. Medcrypt’s report suggests a stock Yocto image can be affected, but the source does not establish which Yocto-based products or deployments are vulnerable.
Responsibility for the underlying behavior remains disputed. OpenSSH places the root cause outside sshd while saying it can prevent exploitation there; musl maintainer Rich Felker characterized the issue as an erroneous use by the caller and said a future musl change was possible. The source does not provide a release date for that change or details on its final form.
Patch, Restart, and Review Logs
Administrators should check whether their systems meet Alpine’s conditions, install a fixed OpenSSH package, and restart sshd so the updated binary is running. Alpine says fixed packages are available across its branches from edge back to 3.16. Where an update cannot be applied promptly, the stated mitigation is to set PasswordAuthentication no, provided that change fits the server’s access requirements.
After remediation, administrators should review authentication logs for password logins to accounts that should not accept passwords, then assess whether any affected account could gain elevated privileges. The source does not specify a universal log query or detection signature, so checks will depend on each system’s logging configuration. Operators of embedded and custom Linux builds should confirm which C library and authentication path their OpenSSH package uses rather than relying only on the distribution name.
Further developments may include additional vendor advisories, package updates, and changes to musl’s error-handling mechanism. For now, the immediate status is that OpenSSH’s 10.6p2 fix is available and exploitation has been reported; the extent of compromise remains unknown.
Key Questions
What is the SSHole vulnerability?
SSHole is the name used by the finder for CVE-2026-123158, a flaw in password checking that can allow access to some accounts without a valid password under specific OpenSSH and musl conditions.
Which servers are affected?
The source identifies Linux systems where OpenSSH runs with musl, checks passwords without PAM, and has PasswordAuthentication enabled, along with specified account and password-hash conditions. Alpine’s standard openssh-server package is a prominent example. Ubuntu and Red Hat say their builds are not affected.
Has the flaw been exploited?
GreyNoise reported a successful break-in on one of its sensors about 40 hours after the fix was released, and CISA added the flaw to its exploited-vulnerabilities list on November 9. The number of real-world compromises is not stated.
How should administrators respond?
Install the fixed OpenSSH package and restart sshd. If an update is not possible immediately, the source recommends setting PasswordAuthentication no. Administrators should also review logs for password logins to accounts that are intended to be passwordless.
Are embedded Linux systems at risk?
Potentially. Medcrypt reported reproducing the issue on a stock Yocto image, but the source does not establish the full range of affected embedded products. Operators should verify their C library, OpenSSH configuration, and account conditions.
Source: ThorstenMeyerAI.com
