CVE-2026-39832
CRITICAL 9.1CVSS 3.1golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys
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.
- Published
- 22 May 2026
- Last modified
- 25 Nov 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-281CWE-502
- Also known as
- GHSA-f5wc-c3c7-36mcGO-2026-5006
- Sources
- NVDJSONOSV GHSA-f5wc-c3c7-36mcJSONOSV GO-2026-5006JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | cryptocpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:* |
< 0.52.0 | 0.52.0 |
| OSV | Go | golang.org/x/crypto | < 0.52.0 | 0.52.0 |
References
- https://go.dev/cl/778640 · FIX
- https://go.dev/cl/778641 · FIX
- https://go.dev/issue/79435 · Issue Tracking, WEB, REPORT
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI · Mailing List, WEB
- https://pkg.go.dev/vuln/GO-2026-5006 · Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:35833 · WEB
- https://access.redhat.com/errata/RHSA-2026:36199 · WEB
- https://access.redhat.com/errata/RHSA-2026:36319 · WEB
- https://access.redhat.com/errata/RHSA-2026:36625 · WEB
- https://access.redhat.com/errata/RHSA-2026:36648 · WEB
- https://access.redhat.com/errata/RHSA-2026:36651 · WEB
- https://access.redhat.com/errata/RHSA-2026:36796 · WEB
- https://access.redhat.com/errata/RHSA-2026:36797 · WEB
- https://access.redhat.com/errata/RHSA-2026:37072 · WEB
- https://access.redhat.com/errata/RHSA-2026:37123 · WEB
- https://access.redhat.com/errata/RHSA-2026:37271 · WEB
- https://access.redhat.com/errata/RHSA-2026:37387 · WEB
- https://access.redhat.com/errata/RHSA-2026:37410 · WEB
- https://access.redhat.com/errata/RHSA-2026:40118 · WEB
- https://access.redhat.com/errata/RHSA-2026:40262 · WEB
- https://access.redhat.com/errata/RHSA-2026:40945 · WEB
- https://access.redhat.com/errata/RHSA-2026:40972 · WEB
- https://access.redhat.com/errata/RHSA-2026:41019 · WEB
- https://access.redhat.com/errata/RHSA-2026:41031 · WEB
- https://access.redhat.com/errata/RHSA-2026:41036 · WEB
- https://access.redhat.com/errata/RHSA-2026:41066 · WEB
- https://access.redhat.com/errata/RHSA-2026:42146 · WEB
- https://access.redhat.com/errata/RHSA-2026:42796 · WEB
- https://access.redhat.com/errata/RHSA-2026:43052 · WEB
- https://access.redhat.com/errata/RHSA-2026:43692 · WEB
- https://access.redhat.com/errata/RHSA-2026:49944 · WEB
- https://access.redhat.com/errata/RHSA-2026:52857 · WEB
- https://access.redhat.com/errata/RHSA-2026:52910 · WEB
- https://access.redhat.com/errata/RHSA-2026:57194
- https://access.redhat.com/errata/RHSA-2026:59579
- https://access.redhat.com/errata/RHSA-2026:61314
- https://access.redhat.com/errata/RHSA-2026:66521
- https://access.redhat.com/errata/RHSA-2026:67450
- https://access.redhat.com/security/cve/CVE-2026-39832 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2480685 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39832.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-39832 · ADVISORY
- https://cs.opensource.google/go/x/crypto · PACKAGE
- https://go.dev/cl/778642 · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Jun 2026)