Skip to content
Exploit for Unexpected Status Code or Return Value in Openbsd Openssh

Exploit for Unexpected Status Code or Return Value in Openbsd Openssh

Sploitus • November 18, 2026

A Python proof-of-concept (PoC) for **CVE-2026-123158**, also known as **SSHole**, a high-severity authentication bypass vulnerability affecting OpenSSH on certain Linux systems.

CVE-2026-123158 affects OpenSSH versions before **10.6p2** on Linux systems using **musl libc without PAM**, such as certain Alpine Linux configurations.

The vulnerability occurs when OpenSSH incorrectly handles password hashing errors. Under specific conditions, this allows an attacker to bypass SSH password authentication using an oversized password, potentially gaining unauthorized access to affected accounts.

The Python PoC demonstrates the authentication-bypass technique using Paramiko.

- Accepts target IP, SSH port, username, and listener configuration.

- Attempts SSH authentication against the target.

- Checks whether authentication succeeds.

- Attempts to establish a reverse shell following successful authentication.

The script includes an animated ASCII banner and interactive configuration prompts.

This script is intended for educational purposes and authorized CTF environments only. Do not use it against systems without explicit permission.

- [CVE-2026-123158 — NVD](

Extracted Entities

Attack Types (1)

Platforms (2)

Tools (1)

Vulnerabilities (1)