GO-2026-4871
Code execution vulnerability in SWIG code generation in cmd/go
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-27140
- Alias
- BIT-golang-2026-27140
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · toolchain | introduced 0, fixed 1.25.9, introduced 1.26.0-0, fixed 1.26.2 |
Références
- https://go.dev/cl/763768 FIX
- https://go.dev/issue/78335 REPORT
- https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |