CVE-2026-39832
Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
4th
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.
| Vendor | golang.org/x/crypto |
| Product | golang.org/x/crypto/ssh/agent |
| Published | May 22, 2026 |
| Last Updated | May 22, 2026 |
Stay Ahead of the Next One
Get instant alerts for golang.org/x/crypto golang.org/x/crypto/ssh/agent
Be the first to know when new critical vulnerabilities affecting golang.org/x/crypto golang.org/x/crypto/ssh/agent are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
golang.org/x/crypto / golang.org/x/crypto/ssh/agent
0 < 0.52.0
References
Credits
NCC Group Cryptography Services, sponsored by Teleport