GHSA-jppx-rxg9-jmrxCriticalCVSS 9.1

golang.org/x/crypto/ssh/agent doesn't enforce invoking key constraints

Published
June 25, 2026
Last Modified
June 25, 2026

🔗 CVE IDs covered (1)

📋 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 products1

  • go/golang.org/x/crypto/ssh/agent:< 0.52.0

🔗 References (7)