CVEvulnerability

CVE-2026-39817

5.9 MEDIUM Published 2026-05-07 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2026-05-07
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.9 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
5.9 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
Weaknesses
CWE-787

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.

Affected configurations

• golang go (< 1.25.10) • golang go (>= 1.26.0 < 1.26.3)

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References