Skip to content
5.9 Medium

CVE-2026-39817 The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not…

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.

Affected products and versions

Product Affected versions Fixed in
cmd/go 1.26 1.26.0-0 → < 1.26.3 1.26.3
cmd/go 1.25 earliest → < 1.25.10 1.25.10

References

Timeline

  1. Published
  2. Last modified
The 23 CVEs of cmd/go →
Track this CVE