FlawAtlas
Search the atlas
CVE-2026-39817 Moderate

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

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.

Exploit probability 0.2%
Published May 11, 2026
Required by Not available
Last source change May 11, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown

152 explicit affected versions

Bitnami golang
Go toolchain

03 / CONNECTIONS

Connected vulnerabilities

related OPENSUSE-SU-2026:21483-1
related RHSA-2026:22112
related RHSA-2026:22120
related RHSA-2026:22121
related RHSA-2026:49702
related RHSA-2026:49712
related RHSA-2026:57649
related RHSA-2026:61253

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2026-39817

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.

View original source
Open Source Vulnerabilities BIT-golang-2026-39817

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.

View original source
Open Source Vulnerabilities GO-2026-4979

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.

View original source

05 / REFERENCES

Further evidence