~ / search / GHSA-jppx-rxg9-jmrx

GHSA-jppx-rxg9-jmrx

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

Source: GitHub Advisory Database (reviewed) Critical CVE-2026-39833

Packages

EcosystemPackageAffectedFixed in
Go golang.org/x/crypto < 0.52.0 0.52.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.