CVE 9.1 CRITICAL

Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent_CVE-2026-39832

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

Description

When adding a key to a remote agent constraint extensions such as [email protected] were not serialized in the request. Destination restrictions were silently stripped when forwarding keys, allowing unrestricted use of the key on the remote host. The client now serializes all constraint extensions. Additionally, the in-memory keyring returned by NewKeyring() now rejects keys with unsupported constraint extensions instead of silently ignoring them.

AI Analysis

Destination restrictions were silently stripped when forwarding keys, allowing unrestricted use of the key on the remote host

Basic Information

ID CVE-2026-39832
Source Go
Published May 22, 2026 at 02:31
Modified May 22, 2026 at 19:03

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.