Skip to content
CVE PROGRAM SOURCE RECORD9.1 Critical

CVE-2026-39833

Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

golang.org/x/crypto golang.org/x/crypto/ssh/agent

Default version status: unaffected

  • 0 to < 0.52.0affected

References