Skip to content
9.1 Critical

CVE-2026-39833 The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never…

Description

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.

Affected products and versions

Product Affected versions Fixed in
golang.org/x/crypto/ssh/agent 0.52 earliest → < 0.52.0 0.52.0

References

Timeline

  1. Published
  2. Last modified
The 5 CVEs of golang.org/x/crypto/ssh/agent →
Track this CVE