GO-2026-5006
Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-39832
- Alias
- GHSA-f5wc-c3c7-36mc
Description
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · golang.org/x/crypto | introduced 0, fixed 0.52.0 |
Références
- https://go.dev/issue/79435 REPORT
- https://go.dev/cl/778640 FIX
- https://go.dev/cl/778641 FIX
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |