CVE-2026-39833

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

Configuration 1 (hide)

cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*

History

11 Aug 2026, 22:17

Type Values Removed Values Added
References
  • {'url': 'https://go.dev/cl/778640', 'tags': ['Issue Tracking'], 'source': 'security@golang.org'}
  • {'url': 'https://go.dev/cl/778641', 'tags': ['Issue Tracking'], 'source': 'security@golang.org'}
  • () https://go.dev/cl/778642 -

23 Jul 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) El llavero en memoria devuelto por NewKeyring() aceptó silenciosamente claves con la restricción ConfirmBeforeUse pero nunca la aplicó. La clave firmaría sin ninguna solicitud de confirmación, sin ninguna indicación al llamador de que la restricción no estaba en vigor. NewKeyring() ahora devuelve un error cuando se solicitan restricciones no compatibles.

28 May 2026, 15:04

Type Values Removed Values Added
First Time Golang crypto
Golang
CWE CWE-862
CPE cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*
References () https://go.dev/cl/778640 - () https://go.dev/cl/778640 - Issue Tracking
References () https://go.dev/cl/778641 - () https://go.dev/cl/778641 - Issue Tracking
References () https://go.dev/issue/79436 - () https://go.dev/issue/79436 - Issue Tracking
References () https://groups.google.com/g/golang-announce/c/a082jnz-LvI - () https://groups.google.com/g/golang-announce/c/a082jnz-LvI - Mailing List
References () https://pkg.go.dev/vuln/GO-2026-5005 - () https://pkg.go.dev/vuln/GO-2026-5005 - Vendor Advisory

22 May 2026, 19:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1

22 May 2026, 04:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-22 04:16

Updated : 2026-08-11 22:17


NVD link : CVE-2026-39833

Mitre link : CVE-2026-39833

CVE.ORG link : CVE-2026-39833


JSON object : View

Products Affected

golang

  • crypto
CWE
CWE-862

Missing Authorization