CVE-2026-42508Published May 22, 2026 · May 22Updated Oct 28
Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
golang.org/x/crypto/ssh/knownhosts
High7.4Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/crypto Go |
|
|
Original description
Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @revoked.
From the CVE record · Go