HarborGuard / CVE
Back to search
CRITICALCVE-2026-39833Published Modified CNA Go

CVE-2026-39833: Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent

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.

Metrics

CVSS v3.1
9.1
Severity
CRITICAL
Fixed in
0.52.0
Affected Products
1

Fix available

0.52.0
Affected packages
  • golang.org/x/crypto / golang.org/x/crypto/ssh/agent
    < 0.52.0 (from 0)
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N