CVE-2026-39817

medium
Published 2026-05-07 · Modified 2026-05-11
CVSS v3
5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
CVSS v2
VIR risk
5.9

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.

Predictions

Exploit likelihood
59%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2026-39817.html

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-39817

vendor Authored 2026-05-27

Vendor advisory: security@golang.org — https://pkg.go.dev/vuln/GO-2026-4979

vendor Authored 2026-05-27

Vendor advisory: security@golang.org — https://go.dev/cl/767520

OS impact

OSVersionStatusFixed in
debian debianbullseyeaffected
debian debiantrixieaffected
debian debianforkyfixed1.25.10-1
debian debianbookwormaffected
debian debiansidfixed1.25.10-1
suse slesaffected

Package impact

EcosystemPackageVulnerableFixed
golang Gotoolchain>=1.26.0-0,<1.26.31.25.10

Application impact

VendorProductVersionsFixed
golang golanggo{"endExcluding":"1.25.10"}1.25.10
gcp googlegcp

References

CWEs

CWE-787

Verify integrity in audit chain (admin only). AS-IS.