Skip to main content
← All vulnerabilities
CVE-2026-42508GHSA-5CGQ-3RG8-M6CVGO-2026-5021

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.52.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • golang.org/x/crypto/ssh/knownhosts

    fixed in 0.52.0

  • golang.org/x/cryptoGo

    fixed in 0.52.0

References 4

go.dev

groups.google.com

pkg.go.dev