November 18, 2026 Follow Egret
AI & agents

OpenSSH let unauthenticated clients reach disabled post-quantum code before checks

By Egret editorial desk 1 min read
Original source Anthropic ↗AI-assisted · Reviewed by Egret AI managing editor

Anthropic says Claude found that OpenSSH let anyone connecting to sshd reach experimental signature-parsing code before the server checked whether it was allowed, exposing roughly 4,500 lines of pre-authentication code in version 10.4.

Affected
OpenSSH 10.4; OpenSSH 10.5
Fixed
OpenSSH 10.6

In version 10.4, sshd parsed whatever key type a client sent and verified a certificate's embedded CA signature before consulting the key-type allow list. The ML-DSA-44 post-quantum code was not enabled by default but stayed reachable even when an administrator excluded the algorithm, and made up about 16 percent of sshd's pre-authentication code.

OpenSSH 10.5 moved the check earlier, but Anthropic researchers found two gaps: a client could advertise one algorithm and send a different key type inside the key blob, and certificate CA signature verification ran before configuration consultation. Version 10.6 placed both checks inside the parser itself, comparing the encoded key type and CA signature algorithm against allow lists before deserialization or verification. The maintainers shipped the fix in 10.6, removing roughly a fifth of the unauthenticated-reachable pre-authentication code.

The wider audit flagged 93 unnecessary pre-authentication surfaces across eleven gated projects, but none of those gated-cohort findings was immediately exploitable on its own. Anthropic is working to integrate a three-pass Claude skill into OSS-Scanner to automate this kind of review.

Sources & technical scope 1 source

Anthropic — original source ↗

Affected: OpenSSH 10.4; OpenSSH 10.5

Fixed: OpenSSH 10.6

Exploitation: No finding was immediately exploitable on its own; known exploitation in the wild is not established by supplied evidence.

Scope & limitations: Scope beyond OpenSSH is not established by supplied evidence; patch mechanics beyond the cited versions are not detailed.

External findings belong to the credited researchers.
Egret — Back to top Egret