← Downloads

OpenSSH 10.6p2

Package v10.6p2 x86_64 TAR.GZ November 5, 2026

Security release fixing CVE-2026-123158, an authentication bypass on musl-based Linux systems that do not use PAM. Exploited within hours of disclosure and listed in CISA KEV. Supersedes 10.6p1, which is affected.

Download TAR.GZ Project website ↗

Download Mirrors

Mirror Region Download
OpenBSD CDN (portable 10.6p2) Primary Global Download
OpenSSH (Official) Global Download
Release Notes Global Download

OpenSSH 10.6p2 was released on November 5, 2026 to fix CVE-2026-123158, nicknamed “sshole”. It supersedes 10.6p1, which is affected.

We covered the disclosure and the in-the-wild exploitation.

Who needs this urgently

The flaw is an authentication bypass with a CVSS score of 8.1. It requires all three of:

Alpine Linux is the case this describes. Containers built FROM alpine with an sshd inside them are the population at risk.

Not affected: glibc distributions, which is nearly every general-purpose Linux, any system authenticating passwords through PAM regardless of libc, OpenBSD, and Dropbear.

Why the urgency is real

Exploitation was observed the same day the CVE was published, with researchers reporting an attacker obtaining root on a honeypot. CISA added it to the Known Exploited Vulnerabilities catalog on November 9.

An authentication bypass needs no payload and no exploit reliability work, and ssh is the most scanned service on the internet. That combination produces same-day attacks.

What to do

# check
ssh -V

# Alpine
apk update && apk upgrade openssh

# verify you are past the fix
ssh -V | grep -o 'OpenSSH_[0-9.]*p[0-9]*'

If patching is delayed, disabling password authentication removes the exposure, since that is the mechanism being bypassed:

# /etc/ssh/sshd_config
PasswordAuthentication no
PubkeyAuthentication yes

sudo sshd -t && sudo rc-service sshd restart

Run sshd -t before the restart. Key-only authentication is the right configuration regardless, per our ssh keys guide and hardening guide.

For containers, rebuild rather than patch in place. Patching a running container leaves the image unchanged, so the next deployment reintroduces it. Our supply chain guide covers scheduled rebuilds, and Alpine 3.24.4 carries the fixed package.

Most Alpine images have no reason to run sshd at all, which our container hardening guide covers.

Should you build it?

Almost never. Use your distribution’s packages, which receive this fix without replacing your system’s configuration. Building from source is for packagers and testing:

tar xzf openssh-10.6p2.tar.gz && cd openssh-10.6p2
./configure --prefix=/opt/openssh
make && sudo make install

Verify Your Download

Each tarball on the OpenBSD mirror has a matching .asc signature from the OpenSSH release key, with SHA256 checksums in the release notes.

Verify the signature rather than only the checksum, and obtain the key from somewhere other than the download page. Our checksums guide covers why that distinction decides whether verification means anything.