Affected versions
Version ranges need review.
- Affected versions
- < 0.52.0
- Fixed version
- 0.52.0
- Affected versions
- <0.52.0
- Fixed version
- 0.52.0
Exploitation
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.
Links
- https://cs.opensource.google/go/x/crypto
- https://github.com/advisories/GHSA-jppx-rxg9-jmrx
- https://go.dev/cl/778640
- https://go.dev/cl/778641
- https://go.dev/cl/778642
- https://go.dev/issue/79436
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI
- https://nvd.nist.gov/vuln/detail/CVE-2026-39833
- https://pkg.go.dev/vuln/GO-2026-5005
Credits
- NCC Group Cryptography Services, sponsored by Teleport

