GO-2026-5005
Dashboard / Vulnerabilities / GO-2026-5005
Summary: Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
Details: 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.
References: https://go.dev/issue/79436, https://go.dev/cl/778642, https://groups.google.com/g/golang-announce/c/a082jnz-LvI
Affected packages
Package
Name: golang.org/x/crypto
Purl: pkg:golang/golang.org/x/crypto
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.52.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
