Description
SWIG file names containing 'cgo' and well-crafted payloads could lead to code smuggling and arbitrary code execution at build time due to trust layer bypass.
Affected products
golang: go
References10
- pkg.go.dev/vuln/GO-2026-4871 Vendor Advisory
- go.dev/cl/763768 Release Notes
- go.dev/issue/78335 Issue Tracking
- groups.google.com/g/golang-announce/c/0uYbvbPZRWU Mailing ListRelease Notes
- access.redhat.com/errata/RHSA-2026:10217
- access.redhat.com/errata/RHSA-2026:10219
- access.redhat.com/errata/RHSA-2026:10704
- access.redhat.com/errata/RHSA-2026:16021
- access.redhat.com/errata/RHSA-2026:16024
- access.redhat.com/errata/RHSA-2026:16494
Metrics
- CVSS 3.1
-
8.8
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 52 · as of 12 November 2026
- CWE
- CWE-863CWE-641
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.