CVE-2026-39833
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| golang.org/x/crypto | golang.org/x/crypto/ssh/agent | 0 < 0.52.0 | affected |
Weaknesses
- CWE-358: Improperly Implemented Security Check for Standard
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: total
References
- https://go.dev/issue/79436
- https://go.dev/cl/778640
- https://go.dev/cl/778641
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI
- https://pkg.go.dev/vuln/GO-2026-5005
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.