BIT-golang-2026-39817

vendorUSosv

Invoking "go tool pack" does not sanitize output paths in cmd/go

view advisory published 2026-05-11Licence: per source

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-39817USmedium5.9—
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…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan