CVE-2026-27140
HIGH8.8EPSS 0.01%Code execution vulnerability in SWIG code generation in cmd/go
Published: 4/7/2026Modified: 5/13/2026
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.
Affected packages (7)
- Bitnami/golangfrom 0, < 1.25.9, >= 1.26.0-0, < 1.26.2
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Debian/golang-1.24from 0
- Debian/golang-1.25from 0, < 1.25.9-1
- Debian/golang-1.26from 0, < 1.26.2-1
- Go/toolchainfrom 0, < 1.25.9, >= 1.26.0-0, < 1.26.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |