GO-2026-5021

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

At a glance

Published
Updated
CVE
CVE-2026-42508
Aliases
GHSA-5cgq-3rg8-m6cv

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.

Affected packages

PackageVersions
Go · golang.org/x/cryptointroduced 0, fixed 0.52.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database