
Proof-of-concept scanner and Docker lab for the OpenSSH password authentication bypass (CVE-2026-123158) on musl libc Alpine builds without PAM.
Proof-of-concept scanner and reproducible lab for the OpenSSH password auth bypass in versions prior to 10.6p2 on musl libc without PAM.
docker build --no-cache -t sshole-lab .
docker run -d --name sshole-lab -p 8222:22 sshole-lab
The container ships vulnerable accounts (root, alice, alpine, victim — shadow *) and a safe negative test (bob — real $6$ hash).
python3 -m venv venv && source venv/bin/activate
pip install -r requirements.txt
python3 exploit.py -host 127.0.0.1 -port 8222 -v
Successful bypasses print BYPASS_CONFIRMED user=X attempt=2 id=..., followed by a summary table. Use -users root,alice to limit targets or -timeout 15 on slow links. Fix: upgrade to OpenSSH 10.6p2+ and set PasswordAuthentication no.
This repository is for educational and research purposes only. The author does not take responsibility for any misuse. Always test PoCs in a controlled and isolated environment.