critical9.1
CVE-2026-39833
The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never enforced it.
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | golang.org/x/crypto | < 0.52.0 | 0.52.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Golang | Crypto | before 0.52.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-jppx-rxg9-jmrx
- https://nvd.nist.gov/vuln/detail/CVE-2026-39833
- https://go.dev/cl/778640
- https://go.dev/cl/778641
- https://go.dev/issue/79436
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI
- https://pkg.go.dev/vuln/GO-2026-5005
- https://go.dev/cl/778642