CVE-2026-39817

MEDIUM CVSS 3.1: 5.9 EPSS 0.17%
Updated Jun 17, 2026
Golang
Parameter Value
CVSS 5.9 (MEDIUM)
Affected Versions 1.26.0 — 1.26.3
Fixed In 1.25.10
Type CWE-787 (Out-of-bounds Write)
Vendor Golang
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Golang Go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
— 1.25.10
Golang Go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
1.26.0 1.26.3