High severity · published Apr 8, 2026
CVE-2026-27140
Code execution vulnerability in SWIG code generation in cmd/go
8.8
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CM
cmd/go · Go toolchain
before 1.25.9; 1.26.0-0 before 1.26.2 · source: vendor
GO
GO · Golang
before 1.25.9; 1.26.0 before 1.26.2 · source: NVD
OS
OpenShift Service Mesh 2 · Red Hat
All versions, or not specified · source: CISA
OS
OpenShift Service Mesh 3 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 10 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 10.0 Extended Update Support · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 8.6 Telecommunications Update Service · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions · Red Hat
All versions, or not specified · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-27140
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-27140
Release Notes
https://go.dev/cl/763768
Issue Tracking
https://go.dev/issue/78335
Mailing List
https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
Vendor Advisory
https://pkg.go.dev/vuln/GO-2026-4871
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:10217
access.redhat.com
https://access.redhat.com/errata/RHSA-2026:10219
More from cmd/go
8.4
CVE-2026-56865
Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog
7.8
CVE-2026-94447
Checksum database bypass for golang.org/toolchain in cmd/go
7.8
CVE-2026-94444
Checksum bypass for golang.org/fips140 in cmd/go
7.5
CVE-2026-56864
Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb
7.5
CVE-2026-42501
Malicious module proxy can bypass checksum database in cmd/go
