Skip to main content
← All vulnerabilities
CVE-2026-39833GHSA-JPPX-RXG9-JMRXGO-2026-5005

Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent

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

The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never enforced it. The key would sign without any confirmation prompt, with no indication to the caller that the constraint was not in effect. NewKeyring() now returns an error when unsupported constraints are requested.

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/agent

    fixed in 0.52.0

  • golang.org/x/cryptoGo

    fixed in 0.52.0

References 4

go.dev

groups.google.com

pkg.go.dev