Description
The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.
Metrics
CVSS 3.1 5.9/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Go toolchain | cmd/go | < 1.25.10; >= 1.26.0-0, < 1.26.3 |
References
- https://go.dev/cl/767520Patch
- https://go.dev/issue/78778Issue Tracking
- https://groups.google.com/g/golang-announce/c/qcCIEXso47MIssue Tracking, Mailing List
- https://pkg.go.dev/vuln/GO-2026-4979Vendor Advisory
Timeline
- Published
- May 7, 2026
- Last modified
- Nov 11, 2026
- NVD status
- Analyzed