CVE-2026-39817

5.9 MEDIUM
Published: May 07, 2026 Modified: May 13, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://go.dev/cl/767520
Source: security@golang.org
Patch
https://go.dev/issue/78778
Source: security@golang.org
Issue Tracking
https://groups.google.com/g/golang-announce/c/qcCIEXso47M
Source: security@golang.org
Issue Tracking Mailing List
https://pkg.go.dev/vuln/GO-2026-4979
Source: security@golang.org
Vendor Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.9 / 10.0
EPSS (Exploit Probability)
0.2%
7th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

golang