Skip to main content
← All vulnerabilities
CVE-2026-39828GHSA-45GG-VH54-H5M9GO-2026-5014

Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh

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: no
  • Technical impact: partial

Summary

When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially dropping certificate restrictions such as force-command after a second factor succeeded. Returning non-nil Permissions with PartialSuccessError now results in a connection error.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • golang.org/x/crypto/ssh

    fixed in 0.52.0

  • golang.org/x/cryptoGo

    fixed in 0.52.0

References 4

go.dev

groups.google.com

pkg.go.dev