CVE-2026-39817

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

History

13 May 2026, 14:59

Type Values Removed Values Added
First Time Golang
Golang go
CWE CWE-787
CPE cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
References () https://go.dev/cl/767520 - () https://go.dev/cl/767520 - Patch
References () https://go.dev/issue/78778 - () https://go.dev/issue/78778 - Issue Tracking
References () https://groups.google.com/g/golang-announce/c/qcCIEXso47M - () https://groups.google.com/g/golang-announce/c/qcCIEXso47M - Issue Tracking, Mailing List
References () https://pkg.go.dev/vuln/GO-2026-4979 - () https://pkg.go.dev/vuln/GO-2026-4979 - Vendor Advisory

08 May 2026, 22:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.9

07 May 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-07 20:16

Updated : 2026-05-13 14:59


NVD link : CVE-2026-39817

Mitre link : CVE-2026-39817

CVE.ORG link : CVE-2026-39817


JSON object : View

Products Affected

golang

  • go
CWE
CWE-787

Out-of-bounds Write