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
Affected product
CM
cmd/go
Go toolchain
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