CVE-2026-39832: golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys
(updated )
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.
References
- access.redhat.com/errata/RHSA-2026:35833
- access.redhat.com/errata/RHSA-2026:36199
- access.redhat.com/errata/RHSA-2026:36319
- access.redhat.com/errata/RHSA-2026:36625
- access.redhat.com/errata/RHSA-2026:36648
- access.redhat.com/errata/RHSA-2026:36651
- access.redhat.com/errata/RHSA-2026:36796
- access.redhat.com/errata/RHSA-2026:36797
- access.redhat.com/errata/RHSA-2026:37072
- access.redhat.com/errata/RHSA-2026:37123
- access.redhat.com/errata/RHSA-2026:37271
- access.redhat.com/security/cve/CVE-2026-39832
- bugzilla.redhat.com/show_bug.cgi?id=2480685
- github.com/advisories/GHSA-f5wc-c3c7-36mc
- go.dev/cl/778642
- go.dev/issue/79435
- groups.google.com/g/golang-announce/c/a082jnz-LvI
- nvd.nist.gov/vuln/detail/CVE-2026-39832
- pkg.go.dev/vuln/GO-2026-5006
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39832.json
Code Behaviors & Features
Detect and mitigate CVE-2026-39832 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →