CVE 9.1 CRITICAL

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

9.1 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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.

AI Analysis

In-memory keyring silently accepted keys with ConfirmBeforeUse constraint without enforcing it, allowing keys to sign without confirmation prompts.

Basic Information

ID CVE-2026-39833
Source Go
Published May 22, 2026 at 02:31
Modified May 22, 2026 at 18:58

Affected Product

Vendor golang.org/x/crypto
Product golang.org/x/crypto/ssh/agent
Affected Versions golang.org/x/crypto golang.org/x/crypto/ssh/agent 0

AI Assessment

AI Score 9.1 / 10
AI Severity Critical
Vendor The Go Authors
Product golang.org/x/crypto/ssh/agent

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.