CVE-2026-39817 Details
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.
A path traversal vulnerability has been identified in the 'go tool pack' subcommand, which is typically used internally by the Go compiler. This vulnerability arises because the 'pack' subcommand does not properly sanitize output filenames. As a result, extracting a malicious archive can lead to files being written to arbitrary locations on the filesystem. This issue affects Go versions prior to 1.25.10 and from 1.26.0 up to but not including 1.26.3.
Users can upgrade to Go versions 1.26.3 or 1.25.10, both of which include the necessary fix. Instructions for downloading these versions are available on the Go website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://go.dev/cl/767520 | [email protected] | Patch |
| https://go.dev/issue/78778 | [email protected] | Issue Tracking |
| https://groups.google.com/g/golang-announce/c/qcCIEXso47M | [email protected] | Issue TrackingMailing List |
| https://pkg.go.dev/vuln/GO-2026-4979 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| golang go | < 1.25.10 >= 1.26.0, < 1.26.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 13, 2026 | Initial Analysis | [email protected] |
| May 8, 2026 | CVE Modified | CISA-ADP |
| May 7, 2026 | New CVE Received | [email protected] |