| { |
| "schema_version": "1.3.1", |
| "id": "GO-2026-4871", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2026-27140" |
| ], |
| "summary": "Code execution vulnerability in SWIG code generation in cmd/go", |
| "details": "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": [ |
| { |
| "package": { |
| "name": "toolchain", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.25.9" |
| }, |
| { |
| "introduced": "1.26.0-0" |
| }, |
| { |
| "fixed": "1.26.2" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "cmd/go" |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://go.dev/cl/763768" |
| }, |
| { |
| "type": "REPORT", |
| "url": "https://go.dev/issue/78335" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU" |
| } |
| ], |
| "credits": [ |
| { |
| "name": "Juho Forsén of Mattermost" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2026-4871", |
| "review_status": "REVIEWED" |
| } |
| } |