{"cve":"CVE-2026-39832","nvd":{"published":"2026-05-22T04:16:22.663","modified":"2026-09-15T12:17:40.787","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-502","CWE-281"],"references":["https://go.dev/cl/778640","https://go.dev/cl/778641","https://go.dev/issue/79435","https://groups.google.com/g/golang-announce/c/a082jnz-LvI","https://pkg.go.dev/vuln/GO-2026-5006"],"products":["golang:crypto"],"source":"nvd","synced_at":"2026-10-19T22:36:28.938604137+00:00"},"epss":{"cve":"CVE-2026-39832","score":0.00683,"percentile":0.52541,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-f5wc-c3c7-36mc","url":"https://osv.dev/vulnerability/GHSA-f5wc-c3c7-36mc","summary":"golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys","modified":"2026-09-10T03:50:49.274413517Z","packages":[{"ecosystem":"Go","name":"golang.org/x/crypto","purl":"pkg:golang/golang.org/x/crypto","ranges":["<0.52.0"],"fixed":["0.52.0"]}]},{"id":"GO-2026-5006","url":"https://osv.dev/vulnerability/GO-2026-5006","summary":"Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent","modified":"2026-09-15T10:41:37.126500086Z","packages":[{"ecosystem":"Go","name":"golang.org/x/crypto","purl":"pkg:golang/golang.org/x/crypto","ranges":["<0.52.0"],"fixed":["0.52.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}