CVE-2026-39832

CRITICAL

Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent

Title source: cna
STIX 2.1

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.

References (32)

Core 32
Core References

Scores

CVSS v3 9.1
EPSS 0.0060
EPSS Percentile 45.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-281 CWE-502
Status published
Products (3)
golang/crypto < 0.52.0
golang.org/x/crypto/golang.org/x/crypto/ssh/agent < 0.52.0
x/crypto 0 - 0.52.0Go
Published May 22, 2026
Tracked Since May 22, 2026