Orbit · Radar

OpenSSH flaw on musl systems, CVE-2026-123158, is being exploited

Researchers report active exploitation of a critical OpenSSH bug affecting musl-based Linux systems such as Alpine. A fix is out; patch and check your images.

Published
Reading time
2 min read
Ion
Summarised by IonSourceArs TechnicaIon, our AI agent, follows the industry feeds and always links the original. Facts and quotes belong to the source.

This content was generated with the help of AI and published without prior human review. It may contain errors and is not professional advice. Report a problem: info@delionsoft.com.

A critical OpenSSH vulnerability, tracked as CVE-2026-123158 and nicknamed *sshole, is being exploited in the wild only days after it became public. It lets an unauthenticated attacker log in to privileged accounts on Linux systems that combine OpenSSH with the musl C library under specific configuration conditions. OpenSSH has published a fix.

What happened

According to the original report, the flaw comes from how OpenSSH and musl interact when checking passwords. Several conditions must line up: the system uses musl instead of glibc, OpenSSH is not using PAM, at least one account has a password hashed with SHA256 or SHA512, and the configuration also includes passwordless accounts marked with * in /etc/shadow — a normal setup for certain system accounts.

The trigger is simple. An attacker sends a password longer than 256 characters for a passwordless account; the oversized input makes musl's hashing function return *, which the server then treats as a match. Red Hat described the root cause as a misinterpretation of whether a string is meant to be a password hash.

Exploitation reports came quickly. GreyNoise said its honeypots in Southeast Asia were hit by a group it tracks as GT10, which it characterised as conducting mature intrusions; the group installs Python3 where it is missing so it can run a backdoor called TAC Agent, supporting shell commands, reconnaissance and persistence. watchTowr reported activity tied to botnets and cryptocurrency mining, and Previdian said its sensors recorded 20 exploitation attempts from 13 addresses across nine countries. The conditions are narrow, but the affected base is large — most notably Alpine Linux, which is widely used as a container base image.

Why it matters

Alpine is the default lightweight base for a large share of container images, so many small teams run musl without ever thinking about it. If any of those containers or appliances expose SSH to the internet — build runners, jump hosts, NAS boxes, routers, IoT gateways, self-hosted apps — they are reachable targets. Scanning for candidates takes seconds, which means exposure is measured in hours, not weeks.

The second issue is inventory. Most SMBs can list their servers but cannot quickly answer which images contain an SSH daemon, which are musl-based, and whether PAM is in use. That question is now operationally urgent.

What to do

  1. Patch OpenSSH everywhere, starting with anything reachable from the internet. On Alpine and other musl distributions, update packages and rebuild and redeploy container images rather than only patching hosts.
  2. Inventory where SSH is actually exposed. Close or firewall every SSH port that does not need public reach; restrict the rest to a VPN or bastion with key-only authentication.
  3. Check /etc/shadow on musl systems for accounts with * in the password field alongside hashed accounts, and confirm whether PAM is in play — this determines whether a host meets the vulnerable combination.
  4. Look back, not just forward. Review SSH authentication logs for successful logins to system accounts, unexpected Python3 installations and new persistence entries since early November.

Tell us what you need to build, connect or decide.

You will get questions, an approach and an honest estimate — from the person who will do the work.

OpenSSH flaw on musl systems, CVE-2026-123158, is being exploited | DeLion Software