CVE-2026-42508

GHSA-5cgq-3rg8-m6cv · GO-2026-5021 · published 22 May 2026 · updated 16 Nov 2026

Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts

9.1CriticalCVSS 9.1EPSS 7%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 7%. Fixed in 0.52.0 and golang.org/x/crypto 0.52.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
golang.org/x/crypto<0.52.00.52.0
go: golang.org/x/crypto<0.52.00.52.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in golang.org/x/crypto (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-42508 severity on Zeptric[![CVE-2026-42508](https://zeptric.io/badge/cve/CVE-2026-42508.svg)](https://zeptric.io/cve/CVE-2026-42508)