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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductGo
PublishedMay 7, 2026
First seenMay 7, 2026

How to fix

Update
  • golang go1.25.10, 1.26.3 or later
  • toolchain1.25.10, 1.26.3 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.25.10, 1.26.0 ≤ v < 1.26.31.25.10, 1.26.3
toolchainGov < 1.25.10, 1.26.0-0 ≤ v < 1.26.31.25.10, 1.26.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.