hello@faustagency.com +421 948 30 50 50

Security / Linux and servers

OpenSSH bug on Alpine Linux: how to check company servers

The CVE-2026-123158 bug makes it possible to bypass password verification in some OpenSSH configurations. On a honeypot server, an attacker has already gained administrator rights. If you run Alpine Linux, find out where SSH is running, which package needs fixing and how to check suspicious sign-ins.

Faust Agency editorial team Published 5 min read
A red beam penetrates a gap in the front panel of a dark server.
Illustrative image created with AI.

What happened on 5 and 6 November

On 5 November 2026, the OpenSSH project released version 10.6p2. On the same day, Alpine Linux published a security advisory and made fixed packages available. The bug, designated CVE-2026-123158 and also known as SSHole, affects the sshd server service on some Linux systems with the musl library that verify passwords without PAM. Under certain conditions, an attacker can sign in to an account without knowing the password or holding its SSH key. [1] [2]

The first attempts captured by Previdian sensors are dated 6 November 2026 UTC. On that day, the company's founder Ryan Dewhurst told Help Net Security that, on one honeypot server running Alpine Linux, an attacker gained system administrator privileges, i.e. root. A honeypot server is a system deliberately exposed to observe attacks. The report confirms practical exploitability, while the extent of any intrusions into production systems in Slovakia or the Czech Republic remains unknown. [3] [4]

Which servers and accounts to check

Start with machines that administrators or deployment processes sign in to via SSH. A typical example is an Alpine virtual server in the cloud, a gateway for managing other systems or a container in which sshd actually runs. According to Alpine Linux, several conditions must be met for this bug. [2]

  • The attacker can connect to the vulnerable service. Check public IP addresses, firewall rules and cloud security groups. For internal SSH, consider which networks, VPNs and suppliers have access to it.
  • The server uses musl and verifies passwords without PAM. This includes the standard openssh-server package in Alpine as well as the variant with PAM support if PAM is disabled. Verify the fix status according to the package version of the specific distribution.
  • The server allows password sign-in. What matters is the effective PasswordAuthentication setting, including Match rules, which may differ by account or source address.
  • A suitable combination of accounts exists on the machine. The target account has the character * in its password field and another local account has a hash of type $5$ or $6$. The bug arises when the server mistakes an error result from the hash calculation for the value stored for the target account.

With some official Alpine cloud images using tiny-cloud, the alpine account can gain root via doas without another password. Changing the image for new servers is therefore not enough on its own. Also check instances that are already running and accounts created on them after deployment. A container without a running sshd is not affected by this bug. Red Hat has confirmed that its products are not affected by this specific bug. [2] [5]

How to deploy the fix and keep access

  1. Restrict SSH availability. If the service should only be accessible to administrators, allow it via an administrator VPN or from trusted addresses. Before the change, verify access via the cloud console or another independent path so that you do not lock yourself out of the server.
  2. Install the fixed package and restart sshd. Alpine has also released fixes for stable branches that have a lower version number than 10.6p2. For example, the 3.24 branch has the fix in package 10.3_p1-r2. Follow the table in the Alpine advisory. Installing the package alone does not replace the process that is already running. After the restart, test a new sign-in from an allowed network. [2]
  3. If the update has to wait, disable password sign-in. First test sign-in with a key. Set PasswordAuthentication to no, verify the configuration with sshd -t, restart the service and verify the effective setting for the affected accounts too. Keep the original session open while testing. [2]

If you manage multiple instances, make a list with the machine name, its owner, the package version and the restart time. For a critical service running on several nodes, proceed one at a time and after each change verify the service's health and administrator access. With managed hosting, ask the supplier for confirmation of the fix and restart of the specific instances. For future deployments, also update the base image or build procedure. Otherwise, autoscaling or recovery may start another server with the old package.

How to check whether someone has already signed in

In both local and central SSH logs, look for Accepted password for for accounts that do not have a usable password. Check the use of doas, changes to authorized_keys files and new accounts. Where possible, compare sign-in times with changes in the firewall and cloud audit logs. Start the check from the period when the vulnerable server was accessible, even though the first public report of attempts only came on 6 November. [2] [3]

If you find a suspicious successful sign-in, or if you do not have enough logs for an exposed machine to rule out an intrusion, isolate it and preserve the available evidence. From a trusted system, revoke or replace credentials and tokens the compromised account may have had access to. Also check other systems that could be reached from this machine. If you suspect root privileges were obtained, prepare recovery from a trusted image and a verified backup. Fixing the vulnerability closes the path to further abuse, but any changes already made by the attacker must be addressed through investigation and recovery.

What the IT team should do today

  • List the accessible SSH services on Alpine and other musl-based systems.
  • Deploy the fixed package, restart the service and verify a new sign-in.
  • Check the logs and also fix the images from which new instances are created.
Are your servers securely accessible via SSH?

Do you need to find out which servers are accessible via SSH, or check suspicious sign-ins? Faust Agency can help you with a security audit, updates and access review.

Sources and further reading

The links lead to the original announcements, reports and documentation the article is based on.

  1. openssh.org/releasenotes.html#10.6p2
  2. alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass
  3. previdian.com/CVE-2026-123158
  4. helpnetsecurity.com/2026/11/06/openssh-sshole-cve-2026-123158-exploitation
  5. access.redhat.com/security/cve/cve-2026-123158
Faust Agency editorial team

Articles are written by the Faust Agency team, which takes care of the security, development and operation of websites, internal systems and corporate infrastructure.

More about us
Share

We will review the security and operations of your company.

Websites, internal systems, servers and recovery after an incident. Get in touch and we will agree on a concrete next step.

Discuss the security and operations of our company
Back to top of page