CVE-2026-39817
Invoking "go tool pack" does not sanitize output paths in cmd/go
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | go toolchain |
| Product | cmd/go |
| Published | May 7, 2026 |
Stay Ahead of the Next One
Get instant alerts for go toolchain cmd/go
Be the first to know when new unknown vulnerabilities affecting go toolchain cmd/go are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Go toolchain / cmd/go
0 < 1.25.10 1.26.0-0 < 1.26.3
References
Credits
Harshit Gupta (Mr HAX)