Vulnerability Report: GO-2026-5006
- CVE-2026-39832
- Affects: golang.org/x/crypto
- Published: May 22, 2026
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.
Affected Packages
-
PathGo VersionsSymbols
-
before v0.52.0
2 unexported affected symbols
- client.Add
- keyring.Add
Aliases
References
- https://go.dev/issue/79435
- https://go.dev/cl/778642
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI
- https://vuln.go.dev/ID/GO-2026-5006.json
Credits
- NCC Group Cryptography Services, sponsored by Teleport
Feedback
See anything missing or incorrect?
Suggest an edit to this report.