Medium severity · published May 7, 2026
CVE-2026-39819
Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
5.3
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 7% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CM
cmd/go · Go toolchain
before 1.25.10; 1.26.0-0 before 1.26.3 · source: vendor
GO
GO · Golang
before 1.25.10; 1.26.0 before 1.26.3 · source: NVD
Affected product
CM
cmd/go
Go toolchain
More from cmd/go
8.8
CVE-2026-27140
Code execution vulnerability in SWIG code generation in cmd/go
8.4
CVE-2026-56865
Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog
7.8
CVE-2026-94447
Checksum database bypass for golang.org/toolchain in cmd/go
7.8
CVE-2026-94444
Checksum bypass for golang.org/fips140 in cmd/go
7.8
CVE-2025-61731
Arbitrary file write using cgo pkg-config directive in cmd/go