Alpine Linux Flaw Enables Unauthenticated SSH Access

Security researchers disclosed a vulnerability in certain Alpine Linux configurations that allows remote SSH login without authentication, and patches are now available.

Updated on Dec. 4, 2026 in Cybersecurity by Wisevoter Tech Desk

Alpine Linux Flaw Enables Unauthenticated SSH Access

Security researchers identified a flaw permitting unauthenticated remote SSH access on certain Alpine Linux configurations where PAM is not enabled. OpenSSH has released a patch, and Alpine Linux has issued updates addressing the vulnerability.

Why it matters

Alpine Linux serves as the base for more than 1 billion Docker Hub images, and roughly 22 million systems expose SSH on standard ports, so the flaw's reach could extend well beyond a single distribution. Other systems such as OpenWRT, buildroot and yocto may also be affected.

The flaw requires at least one account with a SHA256 or SHA512 hashed password configured as passwordless in the password file, and entering more than 256 characters into the password field during login triggers access. No CVE designation has yet been assigned, leaving the scope of affected versions unconfirmed.

The players

OpenSSH

OpenSSH is an open-source suite of secure networking utilities based on the SSH protocol, widely used to provide encrypted remote login on Unix-like systems.

Alpine Linux

Alpine Linux is a lightweight, security-oriented Linux distribution that is widely used as a base image for Docker containers.

The details

The flaw stems from interactions between OpenSSH and the musl C library when PAM is not enabled, letting SSH borrow the salt of an active account that has a stored hash. Attackers can gain access by entering more than 256 characters into the password field during login, and OpenSSH has released a patch while Alpine Linux has issued updates.

Under the Hood

Because Alpine Linux is the base for more than 1 billion Docker Hub images, a flaw in its OpenSSH and musl interaction propagates through the container ecosystem in a way few single-distribution bugs do. The disclosure follows the pattern of supply-chain vulnerabilities in widely reused base images, where one component's weakness spreads to every downstream image built on it.

Developers and operators running Alpine-based containers or SSH-exposed servers should apply the OpenSSH patch and Alpine Linux updates promptly. Those using PAM-disabled configurations or passwordless accounts face the greatest exposure until systems are updated.

The takeaway

Patching base images and auditing SSH account configurations are the most direct steps to reduce exposure to this class of flaw. Teams should verify whether any running systems use passwordless accounts without PAM enabled.

Further reading

Explore more on Cybersecurity to see how base-image and SSH vulnerabilities are tracked across the industry.

Source note: This article includes information reported by RocketNews.