Vulnerability GO-2026-5006

Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
5 months ago
May 22, 2026 at 02:08 AM UTC
Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
v0.1.0 - v0.51.0
v0.1.0 - v0.51.0

Summary

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

Details

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.

Impacted packages

Timeline

Published
5 months ago
May 22, 2026 at 02:08 AM UTC
Fixed (v0.52.0)
5 months ago
May 22, 2026 at 12:26 AM UTC
Last Modified
6 hours ago
November 14, 2026 at 01:12 PM UTC