Skip to content
LATEST
Technology

Critical Authentication Bypass Vulnerability Identified in Lightweight Linux Distributions

A critical authentication bypass vulnerability in musl-based Linux distributions allows unauthorized access to passwordless accounts via long-string…

Critical Authentication Bypass Vulnerability Identified in Lightweight Linux Distributions

A security vulnerability, designated CVE-2026-123158, allows unauthorized access to passwordless accounts on Linux distributions utilizing the musl C library. The flaw, identified as "sshole," enables attackers to bypass authentication by providing a password between 257 and 1024 characters in length. This occurs because the musl hashing function returns an asterisk when processing long inputs, which the OpenSSH daemon (sshd) incorrectly validates against the asterisk stored for passwordless accounts.

The vulnerability primarily impacts systems that do not utilize Pluggable Authentication Modules (PAM), such as Alpine Linux, Buildroot, Yocto, and OpenWrt configurations running OpenSSH. Cloud images are at heightened risk due to default configurations that include passwordless accounts with elevated privileges. The issue stems from a 2016 security patch intended to mitigate timing attacks, which inadvertently created the conditions for this authentication bypass.

OpenSSH has released version 10.6p2 to address the flaw, which carries a CVSS score of 8.1. Administrators are advised to apply the update and restart the sshd service immediately to ensure the patch takes effect. Alternatively, disabling password authentication by setting 'PasswordAuthentication=no' in the sshd configuration serves as an effective mitigation for affected systems.

More stories

Latest news