CVE-2026-39833: Vulnerability in Golang Crypto

Critical. 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.

Go, CWE-862

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-jppx-rxg9-jmrx
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-862
Published
22 May 2026
Last change
11 Aug 2026
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Golang Crypto Before 0.52.0. Fixed in 0.52.0

Affected packages

Vulnerable version ranges and fixed releases

  • golang.org/x/crypto Go, Affected before 0.52.0. Fixed in 0.52.0

Advisories

Vendor and security advisories

Related