CVE-2026-39817

medium

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.

References

https://pkg.go.dev/vuln/GO-2026-4979

https://groups.google.com/g/golang-announce/c/qcCIEXso47M

https://go.dev/issue/78778

https://go.dev/cl/767520

Details

Source: Mitre, NVD

Published: 2026-05-07

Updated: 2026-05-08

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:C/A:N

Severity: Medium

CVSS v3

Base Score: 5.9

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N

Severity: Medium

EPSS

EPSS: 0.00027