OpenSSH sshole Flaw Allows Hackers to Log Into Password-Disabled Linux Accounts Using 257-Character Passwords
A decade-old flaw in OpenSSH lets attackers log into password-disabled Linux accounts using long passwords.
Overview
A security flaw in OpenSSH allows attackers to log into Linux accounts that are supposed to reject passwords. The bug affects systems using the musl C library, including Alpine Linux, OpenWrt, Buildroot, and Yocto. It works because a specific library function returns an asterisk when it fails, which matches the placeholder used for accounts without passwords. This issue has existed since 2012 and was fixed in OpenSSH version 10.6p2 released on November 5, 2026. The vulnerability is particularly concerning for cloud images from AWS and Azure that use the default alpine user. Systems using glibc, PAM, Dropbear, or OpenBSD are not affected by this specific flaw.
Terms in this story
- SSH
- An encrypted network protocol that administrators and developers use to log in to remote servers and run commands. Attackers constantly scan the internet for servers with open SSH ports and weak passwords, while defenders protect SSH access with cryptographic keys instead of passwords.
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- authentication bypass
- A security flaw that lets someone into an account or system without logging in properly. An authentication bypass in a router or web app might let an attacker visit an admin page directly or send a crafted request that skips the password check.
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- authentication
- Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- LDAP
- The standard network protocol used to query and update user accounts and groups in a corporate directory. When you sign in to an office computer or internal printer, it often uses LDAP to check your username and group membership against the central directory server. Security+ objective 4.6 lists the term
- hash
- A short, fixed-length fingerprint of data, made by a hash algorithm with no key. Security reports list file hashes so defenders can check whether a suspicious program on their network matches known malware, and servers store password hashes instead of plain passwords. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- bytes
- A group of 8 bits, enough to store 1 character. Memory sizes, network payloads, and buffer lengths are measured in bytes, and memory corruption bugs happen when a program writes even a single byte past the end of its buffer. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- enumeration
- Systematically probing a system or login form to discover valid usernames, files, or network resources. If a password reset page says whether an email address is registered, attackers run account enumeration to build a verified list of customer accounts to target.
- public repository
- A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
- prompts
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"OpenSSH team shipped version 10.6p2..." Found by reading the article; these exact words are in it - Who is affected: "Alpine Linux, OpenWrt, Buildroot, and Yocto..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"OpenSSH sshole Flaw Allows Hackers to Log Into Password-Disabled Linux..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"......The flaw, dubbed *sshole, is tracked as CVE-2026-123158." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......sshole Flaw Allows Hackers to Log Into Password-Disabled Linux Accounts Using 257-Character Passwords..." Found in the headline - CYBR 101 week 1: the course, logins and two-factor sign in, cyber roles and jobs
"......sshole Flaw Allows Hackers to Log Into Password-Disabled Linux Accounts Using 257-Character Passwords..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......The flaw, dubbed *sshole, is tracked as CVE-2026-123158." Found in the opening sentences - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"......Flaw Allows Hackers to Log Into Password-Disabled Linux Accounts Using 257-Character Passwords..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"......Flaw Allows Hackers to Log Into Password-Disabled Linux Accounts Using 257-Character Passwords..." Found in the headline
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- CISA Confirms Hackers are Exploiting SSHole, the OpenSSH Vulnerability
- New OpenSSH Vulnerability
- Hackers exploit SSHole OpenSSH flaw to breach Linux systems
- Hackers Target OpenSSH SSHole Flaw Within Hours of Disclosure, Gain Root on Honeypot
- Any long password will do: SSH flaw lets hackers into Alpine systems, routers and more
- OpenSSH flaw exploited in the wild just hours after disclosure (CVE-2026-123158)
- sshole: OpenSSH Fixes Password Bypass on Alpine Linux
- OpenSSH flaw lets attackers access password-disabled accounts on some Linux systems
- Meet *sshole, the vulnerability that lets hackers SSH into Linux devices
- OpenSSH flaw lets attackers log into password-disabled Linux accounts
- OpenSSH’s *sshole Bug: How a One-Byte Collision Let Attackers Skip the Password on musl-Based Linux Systems
- OpenSSH Issues Emergency Fix for Flaw Letting Long Passwords Bypass SSH Auth on Alpine Linux
- OpenSSH Flaw Could Let Attackers Bypass Password Authentication on Alpine Linux Servers