GHSA-jppx-rxg9-jmrx
golang.org/x/crypto doesn't enforce invoking key constraints
At a glance
- Published
- Updated
- CVE
- CVE-2026-39833
- Aliases
- GO-2026-5005
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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.
Affected packages
| Package | Versions |
|---|---|
| Go · golang.org/x/crypto | introduced 0, fixed 0.52.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-39833 ADVISORY
- https://cs.opensource.google/go/x/crypto PACKAGE
- https://go.dev/cl/778640 WEB
- https://go.dev/cl/778641 WEB
- https://go.dev/issue/79436 WEB
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI WEB
- https://pkg.go.dev/vuln/GO-2026-5005 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |