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

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) El subcomando ’go tool pack’ (normalmente utilizado solo por el compilador como una herramienta interna con entradas de confianza) no sanea los nombres de archivo de salida. La extracción de un archivo comprimido malicioso con el subcomando ’pack’ puede escribir archivos en ubicaciones arbitrarias en el sistema de archivos.

13 May 2026, 14:59

Type Values Removed Values Added
First Time Golang go
Golang
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
CWE CWE-787
CPE cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*

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-11-11 23:10


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