All reports
Critical

golang.org/x/crypto doesn't enforce invoking key constraints

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

CVE-2026-39833

Probability of exploitation in the next 30 days: 0.47%

FIRST EPSS · 2026-11-23

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

Credits

  • NCC Group Cryptography Services, sponsored by Teleport