CVE-2026-39819

MEDIUM

Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go

Title source: cna
STIX 2.1

Description

The "go bug" command writes to two files with predictable names in the system temporary directory (for example, "/tmp"). An attacker with access to the temporary directory can create a symlink in one of these names, causing "go bug" to overwrite the target of the symlink.

Scores

CVSS v3 5.3
EPSS 0.0001
EPSS Percentile 0.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-59
Status published
Products (3)
Go toolchain/cmd/go < 1.25.10
Go toolchain/cmd/go 1.26.0-0 - 1.26.3
golang/go < 1.25.10
Published May 07, 2026
Tracked Since May 08, 2026