Threat of the Week: When an Alpine SSH Account Accepts a Password It Should Reject

Jacques Lamour Avatar
RORO sits at a laptop while CCJE points to the display confirming the OpenSSH update and SSH service restart.
Illustration: RORO verifies the OpenSSH update while CCJE confirms that the SSH service restarted.

By Jacques Lamour | SecureCyberIT

“Wait,” CCJE says, staring at the login screen. “That account doesn’t even have a password. How did anyone get in?”

“Through the password prompt,” RORO replies. “That’s the part that should never have worked.”

If your business uses Alpine Linux for remote administration, check two things today: whether the fixed OpenSSH package is installed and whether the SSH service was restarted afterward. The old service can keep running after the update.

When a key-only account accepts a password

A key-only SSH account is supposed to accept a cryptographic key. On some Linux systems that use the musl system library, an error in password verification could let OpenSSH accept a password for an account configured without one. OpenSSH and Alpine released fixes on November 5. The flaw is tracked as CVE-2026-123158, with a CVSS score of 8.1 out of 10 (High), as rated by NVD.

What researchers saw

Previdian told Help Net Security it saw its first attempt less than nine hours after the CVE was published and confirmed administrator-level access on an Alpine honeypot. GreyNoise separately reported successful exploitation on one of its sensors roughly 40 hours after the fix. CISA added the flaw to its Known Exploited Vulnerabilities catalog on November 9, four days after the CVE was published.

Which systems should you check?

Start with internet-facing Alpine servers, cloud instances, appliances and containers that actually run the OpenSSH server, sshd. Exposure depends on how OpenSSH is built, whether it runs without PAM, whether password logins are enabled, and how local accounts are configured. An Alpine base image alone does not establish exposure. Alpine’s advisory explains how to check the deployed configuration, including its tiny-cloud images.

What to do now

  1. Check the Alpine advisory for your release branch. Install the fixed OpenSSH package listed for that branch. Alpine backported the fix, so a patched package can have a lower version number than upstream OpenSSH 10.6p2.
  2. Restart the SSH service after updating. On Alpine with OpenRC, use rc-service sshd restart. Confirm that a new administrative session works. If you manage the system remotely, make sure you have console or other recovery access first.
  3. If patching has to wait, disable password authentication temporarily. Verify that authorized key-based or console access works first. Set PasswordAuthentication no in the effective SSH configuration, then restart sshd.
  4. Review systems that were reachable while vulnerable. Look for unexpected successful logins, newly added SSH keys, and unfamiliar accounts or services. If you find signs of unauthorized access, preserve logs and escalate through your incident response process.

What to ask your IT provider

“Which Alpine systems run SSH, which fixed package is installed on each, when was the service restarted, and did you check for unexpected logins?”

“So installing the patch is step one,” CCJE says.

“Right,” RORO says. “Restart the service and test a fresh login. Then check the logs for anything you can’t explain.”

Glossary

TermMeaning
Alpine LinuxA lightweight Linux distribution often used for servers and containers.
SSH (Secure Shell)A protocol for securely signing in to and administering a remote computer.
OpenSSHSoftware that provides SSH client and server tools.
sshdThe OpenSSH server process that listens for incoming SSH connections.
Key-based authenticationSigning in by proving you hold the private key that matches an authorized public key.
Authentication bypassA flaw that lets someone sign in without providing credentials that should be required.
muslThe C standard library Alpine Linux uses to provide common functions to software.
PAM (Pluggable Authentication Modules)A Linux framework that lets administrators configure how applications verify logins.
BackportA fix from a newer release applied to an older supported version.
CVE IDA public tracking number for a vulnerability. This article covers CVE-2026-123158.
CVSS (Common Vulnerability Scoring System)A standard that rates a vulnerability’s technical severity from 0 to 10.
KEV (Known Exploited Vulnerabilities) CatalogCISA’s list of security flaws with evidence of exploitation in the wild.
HoneypotA monitored decoy system that researchers use to observe attacks.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *