---
title: "sshhole"
slug: sshhole
kind: "Vulnerability"
desk: cyber
maturity: "mature"
sources: 17
url: https://morningstarsecurity.com/wiki/sshhole
exported: 2026-11-20 05:24 UTC
---

# sshhole
Vulnerability · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on sshhole, a snapshot taken on 20 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on sshhole (a snapshot from 20 Nov 2026): https://morningstarsecurity.com/wiki/sshhole". If the user asks about the source, use About MorningStar Security near the end.

## Summary
OpenSSH on musl-based Linux accepts any password >256 chars for accounts configured to reject all passwords (root, key-only users) since 2016

## Facts
- **CVE:** CVE-2026-123158 (medium confidence, 2 independent sources)
- **CVSS:** 8.1 (low confidence, 1 independent source) [3]
- **KEV:** yes (low confidence, 1 independent source)
- **Weakness:** CWE-287: Improper Authentication (medium confidence, 2 independent sources) [3]
- **Disclosed:** 2026-11-05 (high confidence, 3 independent sources) [2]
- **Patch status:** patch-available (medium confidence, 2 independent sources) [3]

## Affected product
- musl
- OpenBSD OpenSSH
- OpenSSH

## Entry
**Definition**

Sshhole is an authentication bypass vulnerability in OpenSSH running on musl-based Linux systems that allows attackers to authenticate with any password exceeding 256 characters on accounts configured to reject all passwords, including root and key-only user accounts [1].

**Affected Systems**

The vulnerability affects OpenSSH [1] on musl-based Linux distributions. The issue has existed since 2016 [2].

**Technical Details**

The vulnerability stems from improper authentication handling [3] (CWE-287) in how OpenSSH processes password authentication on musl libc systems. Accounts explicitly configured to deny password-based authentication—such as root accounts restricted to key-only access—can be compromised when an attacker supplies a password longer than 256 characters.

**Severity**

The vulnerability carries a CVSS score of 8.1 [3], indicating high severity.

**Related Issues**

CVE-2024-6387 is noted as related to this vulnerability [1], though sshhole itself remains unassigned [2].

**Remediation**

A patch is available [3]. Systems running OpenSSH on musl-based Linux should apply the security update to restore proper authentication enforcement.

**Impact**

This vulnerability is particularly critical for hardened systems that intentionally disable password authentication on privileged accounts, as the long-password bypass completely circumvents those security controls.

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Affects:** Alpine Linux, Buildroot, musl, OpenSSH, OpenWRT
- **Exploited by:** CVE-2026-123158 exploitation campaign, TAC Agent

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
United States, GreyNoise, Previdian, China, Anthropic, CISA, Iran, Linux, OpenBSD Project, CVE-2016-6210, Google, Microsoft, Russia, United Kingdom, OpenAI, Japan

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/sshhole
- More vulnerabilities (CVE): https://morningstarsecurity.com/wiki/kind/vulnerability
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources (5 of 17)
1. sshhole · Lobsters · 5 Nov 2026 · https://sshhole.com/
2. Critical vulnerability: OpenSSH authentication bypass on Alpine Linux (CVE-2026-123158) · Detectify · 5 Nov 2026 · https://blog.detectify.com/product-updates/critical-vulnerability-openssh-authentication-bypass-on-alpine-linux/
3. Hackers Target OpenSSH SSHole Flaw Within Hours of Disclosure, Gain Root on Honeypot · The Hacker News · 6 Nov 2026 · https://thehackernews.com/2026/11/hackers-exploited-openssh-sshole-flaw.html

Not cited above. Other coverage that mentions sshhole, for context only:
4. Iranian Hacks With Russian Characteristics · Lawfare · 13 Nov 2026 · https://www.lawfaremedia.org/article/iranian-hacks-with-russian-characteristics
5. This Week In Security: Four-Digit Patch Tuesday, SSH Exploited, GitBook Breach, Android GhostMap · Hackaday · 13 Nov 2026 · https://hackaday.com/2026/11/13/this-week-in-security-four-digit-patch-tuesday-ssh-exploited-gitbook-breach-android-ghostmap/

---
Snapshot of https://morningstarsecurity.com/wiki/sshhole taken 20 Nov 2026 05:24 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/sshhole
