CVE-2026-27140Code execution vulnerability in SWIG code generation in cmd/go
Updated under an hour ago ()
Does this affect you?
It affects Go toolchain cmd/go and 12 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 8.8 HIGH (v3.1, CISA ADP)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-501, CWE-641
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Go
- NVD analysis
- Modified
- Record last updated
- Sep 10, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Go toolchain cmd/go go_toolchain:cmd_go (from the name) | before 1.25.9; from 1.26.0-0 before 1.26.2 | CNA record |
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 0:1.25.9-3.el10_1 not affected | CISA ADP |
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support redhat:enterprise_linux_eus | from 0:1.25.9-1.el10_0 not affected | CISA ADP |
from 8040020260505161557.5081a262 not affected | CISA ADP | |
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On redhat:rhel_eus_long_life | from 8040020260505161557.5081a262 not affected | CISA ADP |
from 8060020260505152018.97d7f71f not affected | CISA ADP | |
from 8060020260505152018.97d7f71f not affected | CISA ADP | |
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support redhat:rhel_eus | from 0:1.21.13-16.el9_4 not affected | CISA ADP |
Red Hat Red Hat OpenShift Container Platform 4.16 redhat:openshift | from 1786788012 not affected | CISA ADP |
Red Hat OpenShift Service Mesh 2 redhat:service_mesh | 2 | CISA ADP |
Red Hat Red Hat Hardened Images redhat:hummingbird | 1 | CISA ADP |
Red Hat Red Hat OpenShift Virtualization 4 redhat:container_native_virtualization | 4 | CISA ADP |
golang go golang:go | before 1.25.9; from 1.26.0 before 1.26.2 | NVD |
References
- https://go.dev/cl/763768release-notes
- https://go.dev/issue/78335issue-tracking
- https://groups.google.com/g/golang-announce/c/0uYbvbPZRWUmailing-list, release-notes
- https://pkg.go.dev/vuln/GO-2026-4871vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:10217
- https://access.redhat.com/errata/RHSA-2026:10219
- https://access.redhat.com/errata/RHSA-2026:10704
- https://access.redhat.com/errata/RHSA-2026:16021
- https://access.redhat.com/errata/RHSA-2026:16024
- https://access.redhat.com/errata/RHSA-2026:16494
- https://access.redhat.com/errata/RHSA-2026:16497
- https://access.redhat.com/errata/RHSA-2026:16498
- https://access.redhat.com/errata/RHSA-2026:16694
- https://access.redhat.com/errata/RHSA-2026:16697
- https://access.redhat.com/errata/RHSA-2026:16698
- https://access.redhat.com/errata/RHSA-2026:23246
- https://access.redhat.com/errata/RHSA-2026:25182
- https://access.redhat.com/errata/RHSA-2026:34099
- https://access.redhat.com/errata/RHSA-2026:56854
- https://access.redhat.com/errata/RHSA-2026:57408
- https://access.redhat.com/errata/RHSA-2026:57545
- https://access.redhat.com/security/cve/CVE-2026-27140
- https://bugzilla.redhat.com/show_bug.cgi?id=2456341
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27140.json
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.