CVE-2026-39817
Invoking "go tool pack" does not sanitize output paths in cmd/go
5.9
MEDIUM
CVSS 3.1
EPSS 0.01%
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.
How to fix CVE-2026-39817
To remediate CVE-2026-39817, upgrade the affected package to a fixed version below.
- —upgrade to 1.25.10 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 1.25.10-1 or later
- —upgrade to 1.26.3-1 or later
- —upgrade to 1.25.10 or later
Is CVE-2026-39817 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- from 0, < 1.25.10, >= 1.26.0-0, < 1.26.3
- from 0
- from 0
- from 0
- from 0, < 1.25.10-1
- from 0, < 1.26.3-1
- from 0, < 1.25.10, >= 1.26.0-0, < 1.26.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N |