CVE-2026-39817

MEDIUM EPSS 6.7%
Published May 7, 20261mo ago · Modified Jun 17, 20262w ago
5.9 CVSS 3.1
Medium
Find Similar
Published May 7, 2026 1mo ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
5.9
Exploitability
1.5
Impact
4.0
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Changed
Confidentiality None
Integrity High
Availability None

Threat Intelligence

EPSS Exploit Probability
6.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-787 Out-of-bounds Write Memory Safety

Affected Products 2

VendorProductVersionRange
golanggo* <1.25.10
golanggo*≥1.26.0  –  <1.26.3

References 4

  • go.dev https://go.dev/cl/767520
    Patch
  • go.dev https://go.dev/issue/78778
    Issue Tracking
  • groups.google.com https://groups.google.com/g/golang-announce/c/qcCIEXso47M
    Issue TrackingMailing List
  • pkg.go.dev https://pkg.go.dev/vuln/GO-2026-4979
    Vendor Advisory

Remediation

  • go.dev https://go.dev/cl/767520
    Patch