Enterprise Risk Operations

The Asterisk That Opened the Door

M.K. Palmore · December 2, 2026

A flaw in OpenSSH on Alpine and other musl-based Linux systems lets attackers log in to accounts. CVE-2026-123158 "SSHole" | Rated high, 8.1 | Actively exploited

Alert snapshot

Subject. An authentication bypass (CVE-2026-123158, nicknamed "SSHole") in the OpenSSH Secure Shell (SSH) server on Linux systems using the musl C library without Pluggable Authentication Modules (PAM), notably Alpine Linux. The Common Vulnerabilities and Exposures (CVE) record rates it High, 8.1 on Common Vulnerability Scoring System (CVSS) version 3.1.

Who this is for. Small and midsize businesses and public-sector organizations running Alpine Linux or another musl-based build (such as OpenWrt, Buildroot, or Yocto) with an OpenSSH server on servers, cloud images, container hosts, or appliances. Systems built on the GNU C Library (glibc) or using PAM, including Red Hat products, are not affected.

Status. Fixed November 5, 2026. Exploit code is public and in active use. The Cybersecurity and Infrastructure Security Agency (CISA) added the flaw to its Known Exploited Vulnerabilities (KEV) catalog on November 9, with a November 12 deadline for federal civilian agencies. That deadline has passed, and threat intelligence firm GreyNoise's public tracker shows successful exploitation continuing as late as November 29.

Required action. Update and restart now if you have not already. If you cannot update today, turn off SSH password authentication. Whether or not you have patched, check your logs for password logins to accounts that should only accept keys, and check authorized_keys files for keys you did not add.

The bottom line

6p2 to close a hole that researcher Özgün Kültekin of Wakefield found in how its server checks passwords on certain Linux systems. Put plainly: an attacker who can reach your SSH port can log in to an account that has no password at all, simply by sending a very long one. The accounts at risk are those set up for key-only logins.

The catch is that several settings must line up, and Alpine's standard OpenSSH server package lines up most of them by default.

The CVE record scores it High, 8.1 out of 10, a "high" rather than "critical" label that reflects how specific the setup must be, not how mild the outcome is. An intruder inherits that account's permissions and can reach root if the account runs administrative commands without a password.

The window that matters

  • November 5: fix and exploit code. OpenSSH 10.6p2 and Alpine packages shipped; exploit code followed about four hours later.
  • November 7 onward: successful break-ins. Threat intelligence firm GreyNoise logged the first successful exploitation on November 7; CISA listed the flaw on November 9.

Roughly 40 hours separated "a fix exists" from "attackers succeed." That was the window patching had to beat. If a system was patched after that window closed, the update alone is not enough: intruders added their own SSH keys, which survive an update, so work through step 3 of "What to do today."

The safe build, branch by branch

OpenSSH fixed the flaw in version 10.6p2, and Alpine patched every branch back to 3.16 the same day. If your package is older than the one listed for your branch, treat the system as affected.

Product or Alpine branchFixed version (update to this or later)
Portable OpenSSH (upstream)10.6p2
Alpine Linux edgeopenssh 10.6_p2-r0
Alpine Linux 3.24openssh 10.3_p1-r2 (point release 3.24.4)
Alpine Linux 3.23openssh 10.2_p1-r1 (point release 3.23.8)
Alpine Linux 3.22openssh 10.0_p1-r11 (point release 3.22.8)
Alpine Linux 3.21 (support ended November 1, 2026)openssh 9.9_p2-r1 (point release 3.21.10)
Alpine Linux 3.16 to 3.20 (past regular support)3.20: 9.7_p1-r6; 3.19: 9.6_p1-r3; 3.18: 9.3_p2-r4; 3.17: 9.1_p1-r7; 3.16: 9.0_p1-r6
Other musl builds (OpenWrt, Buildroot, Yocto)OpenSSH 10.6p2 or vendor firmware update

Sources: OpenSSH 10.6p2 release notes; Alpine Linux security advisory, November 5, 2026.

A note for appliances, routers, and embedded devices

OpenWrt, Buildroot, and Yocto builds use musl too, so routers, firewalls, and other embedded devices may carry the same flaw. You usually cannot patch these yourself; the fix has to come as a firmware update from the vendor. Dropbear, the SSH server OpenWrt relies on, is not affected. If a device runs OpenSSH, ask the vendor about a fix and keep its SSH port off the public internet until then.

The gap this creates for a smaller team

Alpine is popular because it is small, so it ends up in cloud images, container hosts, and appliances that often sit outside the patch routine for the main servers. A 40-person company or a county office may not even know it runs Alpine, because it arrived inside a vendor's product or a contractor's build. Attackers are not waiting: SANS Internet Storm Center honeypots recorded the first real exploit attempts on November 5, the day the fix shipped.

The compounding risk is what a shell on that machine can reach. Intruders seen by GreyNoise ran reconnaissance, queried cloud metadata services, hunted for password hashes and root SSH keys, and edited authorized_keys files so they could return later. A login is the opening move, not the end of the incident.

The exposure: why "no password" turned into "any password"

How a locked account came unlocked

On Linux, an account that should never accept a password usually carries a single asterisk (*) in its stored password field. When OpenSSH checks passwords without PAM, it runs the submitted password through the system's crypt() function and compares the result with that stored value. On musl, crypt() signals an error for passwords longer than 256 bytes by returning, of all things, an asterisk.

The error message and the "no password" marker look identical, so the server sees a match and opens the door.

One more ingredient completes the recipe. For an account without a real password, OpenSSH borrows hashing details from another account on the machine, so the trick only works if at least one other local account has a real, hashed password. An administrator setting a console password is enough. The musl maintainer calls this a misuse by the caller rather than a musl bug, and OpenSSH says the root cause lies outside its code. For you, that debate changes nothing; the fix is the same either way.

From one login to root

Alpine has shipped its root account with that same asterisk since around release 3.16. Root logins over SSH are blocked by default, but an attacker does not need them. Any exposed account that can run doas (Alpine's lightweight alternative to sudo) without a password is a direct path to root.

Some Alpine cloud images built with tiny-cloud, from 3.18.11 through 3.24.3, give the default alpine user exactly that kind of passwordless doas access. Those images are safe at first boot and become exploitable the moment any account receives a hashed password. GreyNoise has already watched one attacker gain root this way and install a Python command-and-control implant known as "TAC Agent."

There is a real brake on all of this. Four conditions must hold at once: OpenSSH running without PAM, password authentication switched on, a target account with an asterisk in its password field, and another account with a hashed password. Turn off password authentication, and the whole chain falls apart. That is why a single configuration line, not just the package version, decides whether this flaw can reach you.

What to do today

If you run Alpine Linux or any other musl-based system with an OpenSSH server, work this list in order. The first item closes the hole; the rest confirm that nobody slipped through while it was open. If you have already patched, start at step 3.

1. Update OpenSSH and restart the SSH server

On Alpine, run apk upgrade -U -a, then rc-service sshd restart. The second step matters, because installing the package does not replace the server that is already running. Remember golden images, templates, and any containers or appliances that run their own SSH server.

2. If you cannot update right away, switch off password logins

First, confirm that key-based login works and keep your current session open. Then set PasswordAuthentication no (a drop-in file in /etc/ssh/sshd_config.d works well), validate the configuration with sshd -t, restart the server, and confirm the change took effect with sshd -T. Both the musl maintainer and Alpine point to this as the stopgap, and with password logins off, the attack has nothing left to exploit.

3. Look for signs of a break-in

Search your authentication logs (on Alpine, /var/log/messages) for "Accepted password for" entries on accounts that have no password. Review recent doas use, newly created users, authorized_keys files, unexpected startup services, and any trace of the TAC Agent implant. If you cannot rule out a successful login, treat the machine as compromised.

4. Rotate what an intruder could have taken

Attackers in the wild have tried to read password hashes and root SSH keys, and they have queried cloud metadata services, which can expose cloud credentials. If a vulnerable system was reachable before you patched, rotate the SSH keys, passwords, and cloud or application credentials stored on it as a precaution, and rebuild any machine whose integrity you cannot confirm.

If someone else runs it for you

Plenty of smaller organizations never touch a Linux command line; a managed service provider, a cloud host, or an appliance vendor handles it for them. That arrangement does not move the risk off your books. It just means the questions go to them. Send these today and expect same-day answers.

Ask your providerWhat a good answer sounds like
Do any of our servers, cloud images, containers, or appliances run Alpine or another musl-based Linux with an OpenSSH server?A named inventory with distribution and release, not "we mostly use Ubuntu."
Have they been updated to OpenSSH 10.6p2 or the fixed Alpine package, and was the SSH server restarted?A date on or after November 5, 2026, per system, with the restart confirmed.
If not yet updated, is password authentication turned off right now?PasswordAuthentication set to no, verified with sshd -T on every affected host.
Can anyone on the internet reach SSH on these systems?Limited to approved addresses or a virtual private network (VPN); if wide open, that is itself a finding.
Have the logs been checked for password logins to key-only accounts, and were keys and credentials rotated?Logs reviewed back to November 5; no unexplained logins or keys; credentials rotated as a precaution.

Read the answer critically. "We don't use Alpine" is only reassuring if someone actually checked. Alpine often hides inside vendor appliances, cloud images, and container hosts. A container built on Alpine with no SSH server inside is not affected, but a host or device running Alpine's OpenSSH server package is. Ask the provider to confirm in writing which systems run an SSH server, and on which distribution.

The durable lesson

Patch this, and you have closed one hole. The pattern behind it will be back under a different number, so the more useful question is what this incident says about how your organization carries risk.

First, "disabled" is a claim, not a control. Key-only accounts were safe only because of an assumption about how a library reports an error, while the setting that really decides the matter, PasswordAuthentication, stayed on the whole time. Verify the control, not the intent.

Second, the patch window is now measured in hours. OpenSSH now considers long embargoes dangerous, because artificial intelligence tools can rediscover reported bugs, sometimes within hours. Here, working exploit code appeared about four hours after the fix. A monthly patch cycle cannot keep that pace for anything exposed to the internet.

Third, small and lightweight does not mean low-risk. Alpine earns its place by being minimal, which also makes it easy to forget. The systems most likely to be overlooked (the base image, the appliance, the box a contractor installed) are exactly the kind this flaw reaches. If your inventory cannot say where Alpine runs, that blind spot is the finding worth fixing.

How Apogee Global RMS can help

We help small and midsize businesses and public-sector organizations carry the risk that internet-facing systems put on their shoulders, without the overhead of a full in-house security team.

  • Find what you are actually running. A fast inventory of your internet-facing systems, so a flaw like this one maps to named assets on day one instead of day ten.
  • Turn advisories into action. Plain-language guidance on what to patch first and what to isolate when you cannot, sequenced by the exposure that reduces the most risk at once.
  • Close the seams, not just the holes. Assessment of how your systems, identity controls, and access are wired together, because that is where a single unexpected login quietly becomes full control.

Contact us at information@apogeeglobalrms.com or 415-251-5510 to schedule an initial review.

Ready to take a unified view of enterprise risk?

A Risk Briefing is forty-five minutes with a senior practitioner. You leave with a straight answer on the fastest path forward, whether or not it runs through us.

Request a Risk Briefing