CVE-2026-27140
High
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.
SeverityHigh
CVSS8.8
Exploit probability—
ProductGo
PublishedApr 8, 2026
First seenApr 8, 2026
Weakness typeCWE-501CWE-501
How to fix
Update
- golang go1.25.9, 1.26.2 or later
- toolchain1.25.9, 1.26.2 or later
Vendor advisories
- access.redhat.com/errata/RHSA-2026:16024
- access.redhat.com/errata/RHSA-2026:10217
- access.redhat.com/errata/RHSA-2026:10704
- access.redhat.com/errata/RHSA-2026:16698
- access.redhat.com/errata/RHSA-2026:16697
- access.redhat.com/errata/RHSA-2026:16694
- access.redhat.com/errata/RHSA-2026:16494
- access.redhat.com/errata/RHSA-2026:16498
- access.redhat.com/errata/RHSA-2026:16497
- access.redhat.com/errata/RHSA-2026:16021
- access.redhat.com/errata/RHSA-2026:10219
- access.redhat.com/errata/RHSA-2026:56854
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.25.9, 1.26.0 ≤ v < 1.26.2 | 1.25.9, 1.26.2 |
| toolchainGo | v < 1.25.9, 1.26.0-0 ≤ v < 1.26.2 | 1.25.9, 1.26.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.