9.1Critical
CVE-2026-39833Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| golang | crypto | < 0.52.0 | |
| golang.org/x/crypto | golang.org/x/crypto/ssh/agent | < 0.52.0 |
References and patches
- https://go.dev/issue/79436 Issue Tracking
- https://go.dev/cl/778642
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI Mailing List
- https://pkg.go.dev/vuln/GO-2026-5005 Vendor Advisory
CPE matches (NVD) (1)
cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*< 0.52.0