Security mailing lists by PureSourceCode

CVE-2026-39833

CRITICAL 9.1CVSS 3.1

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

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.

Published
22 May 2026
Last modified
10 Sep 2026
Assigned by
security@golang.org
NVD status
Modified
Weakness
CWE-862
Also known as
GHSA-jppx-rxg9-jmrxGO-2026-5005
Sources
NVDJSONOSV GHSA-jppx-rxg9-jmrxJSONOSV GO-2026-5005JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang crypto
cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*
< 0.52.0 0.52.0
OSV Go golang.org/x/crypto < 0.52.0 0.52.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 May 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.