CVE-2026-39817
mediumThe "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames.
Vendor / product: Golang — 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.
CVSS
5.9
5.9 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-05-07 20:16
Modified: 2026-11-11 23:10
NVD status: Analyzed
Last synced 3 hours ago
Verified against the source API 2026-11-11 23:13 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
golang / go <1.25.10, ≥1.26.0 <1.26.3
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Vendor advisory: https://pkg.go.dev/vuln/GO-2026-4979
Patch / mitigation: https://go.dev/cl/767520
References
- https://go.dev/cl/767520 security@golang.org
- https://go.dev/issue/78778 security@golang.org
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M security@golang.org
- https://pkg.go.dev/vuln/GO-2026-4979 security@golang.org
Data sources
NVD CVE API 2.0 — fetched 2026-11-11 23:13 UTC · record ↗

