CVE-2026-39817
Published:May 07, 2026
Updated:May 16, 2026
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.
Affected Packages
https://github.com/golang/go.git (GITHUB):
Affected version(s) >=go1.26.0 <go1.26.3Fix Suggestion:
Update to version go1.26.3https://github.com/golang/go.git (GITHUB):
Affected version(s) >=go1 <go1.25.10Fix Suggestion:
Update to version go1.25.10github.com/golang/go (GO):
Affected version(s) >=go1.26.0 <go1.26.3Fix Suggestion:
Update to version go1.26.3github.com/golang/go (GO):
Affected version(s) >=go1 <go1.25.10Fix Suggestion:
Update to version go1.25.10Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.7
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Out-of-bounds Write
EPSS
Base Score:
0.01