CVE-2026-27140Published Apr 8, 2026 · Apr 8Updated Oct 28
Code execution vulnerability in SWIG code generation in cmd/go
Go toolchain cmd/go
Critical9.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| toolchain Go |
|
|
Original 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.
From the CVE record · Go