CVE-2026-39817
Last modified
CVE-2026-39817 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.25.10 |
| Golang | Go | >= 1.26.0, < 1.26.3 |
References
- 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
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-39817?
How severe is CVE-2026-39817?
How do I fix CVE-2026-39817?
Are you affected by CVE-2026-39817?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
