CVE-2026-39817
MEDIUM EPSS 6.7%
Published May 7, 20261mo ago · Modified Jun 17, 20262w ago
5.9 CVSS 3.1
Published May 7, 2026 1mo ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Changed
Confidentiality None
Integrity High
Availability None
Threat Intelligence
EPSS Exploit Probability
6.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-787 Out-of-bounds Write Memory Safety
Affected Products 2
References 4
- go.dev https://go.dev/cl/767520
- go.dev https://go.dev/issue/78778
- groups.google.com https://groups.google.com/g/golang-announce/c/qcCIEXso47M
- pkg.go.dev https://pkg.go.dev/vuln/GO-2026-4979
Remediation
- go.dev https://go.dev/cl/767520