Discover ALTREVA → (ALTREVA is a store owned by the owner of NEXOTECH.)
Skip to content
NEXOTECH
Technology

A flaw hidden for years lets attackers into some Linux servers without knowing the password

CVE-2026-123158 affects some Alpine Linux setups with OpenSSH and has already been exploited. Who is at risk and how to protect yourself.

By Nacho MasedaPublished 2 min readLeer en español
In this article

Apps and services change often. The steps in this guide were reviewed on the date shown; if a menu doesn't match, check the official sources linked at the end. Information reviewed on .

A researcher has found a flaw that lets attackers log into some Linux systems without a valid password. It's tracked as CVE-2026-123158, nicknamed with a pun on SSH. It affects a specific combination of software and has already been exploited in the wild.

Who is affected

Not every Linux system. According to Xataka, it affects Alpine Linux setups that use OpenSSH (the program for connecting to a server remotely) together with the musl library and without PAM (the usual authentication system). Other platforms could be at risk if they meet the same conditions.

According to Check Point, all of these conditions must be met at once:

  • OpenSSH without PAM and with password login enabled.
  • A locked account (marked with an asterisk in the password file).
  • Another active local account with a password hashed in a specific way (SHA-256 or SHA-512).

So using Alpine doesn't make you vulnerable on its own. Alpine is very popular on servers and containers, but rarely on personal computers.

How it works, simply put

The flaw comes from three innocent changes made in different years that together create a hole:

  1. In 2012, musl changed how it reports errors and set a password length limit.
  2. In 2016, OpenSSH changed its behaviour so nobody could guess which users exist by timing responses.
  3. In 2022, Alpine adjusted the administrator account to allow key-based login.

If someone tries to log in with a very long password (between 257 and 1,024 characters), musl returns an asterisk as an error signal. That asterisk matches the one marking the locked account, so the server thinks the password is correct and lets them in.

Already being exploited

Security firm Previdian detected eight attempts from a single address and confirmed administrator-level access on one of its honeypot servers. The risk is higher on Alpine's official cloud images, where the default user can act as administrator without a password.

What to do

  • Update: OpenSSH released version 10.6p2 and Alpine shipped patches for several releases, both on 5 November.
  • Restart the SSH service after updating; installing the patch isn't enough.
  • If you can't update right away, disable password login and use SSH keys, but check first that your keys work so you don't lock yourself out.

The lesson is the usual one: keep your system updated. And with AIs like GPT-6 Cyber finding flaws at high speed, the gap between a hole being discovered and someone using it will keep shrinking.

Sources and documentation

  1. Algunos sistemas Linux permiten entrar sin conocer la contraseña (Xataka, in Spanish) — Xataka
  • linux
  • cybersecurity
  • openssh
  • servers
  • news
More in Technology