PoC Monitor
← All CVEs
CVE-2026-39832published 22 May 2026 02:31 UTCData: JSON · API

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

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

When adding a key to a remote agent constraint extensions such as restrict-destination-v00@openssh.com 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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by CISA ADP · CWE-281
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

golang.org/x/crypto golang.org/x/crypto/ssh/agent
  • < 0.52.0

Fixed in 0.52.0

Mitigation

Upgrade golang.org/x/crypto/ssh/agent to 0.52.0 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published22 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.