Name
CVE-2026-39817
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.
CWEs
Published Date
Updated Date
Workaround
-
Advisories
https://go.dev/issue/78778Issue Tracking
https://pkg.go.dev/vuln/GO-2026-4979Vendor Advisory
Analysis#
Vulnerability Ratings#
5.9
CVSSv31
5.9
CVSSv31
NaN
other
Others affected components#
Name
Project
Project Version
Version
Status
openwrt
master
1.24.13-r1
Exploitable
openwrt
master
1.26.4-r1
Not Affected
openwrt
openwrt-25.12
1.24.13-r1
Exploitable
openwrt
openwrt-25.12
1.26.4-r1
Not Affected
yocto
master
1.26.4
Not Affected
yocto
master
1.26.4
Not Affected
yocto
scarthgap
1.22.12
Patched
yocto
scarthgap
1.22.12
Exploitable
Resolved with patches#
go (yocto:scarthgap)
#
Title
Author
Resolve
1
cmd/pack: refuse to extract files with directory components
Damien Neil <dneil@google.com>
CVE-2026-39817