VulnWatch by ve1ve2
medium 5.3 EPSS 0.18%

GO-2026-4978: Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
google toolchain

https://osv.dev/vulnerability/GO-2026-4978 ↗

osvgofix-available

Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go 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. Affected: Go:toolchain Fixed in: 1.25.10, 1.26.3 References: https://go.dev/issue/78584 https://go.dev/cl/763882 https://groups.google.com/g/golang-announce/c/qcCIEXso47M

Linked vulnerabilities (1)

CVE-2026-39819 medium 5.3 EPSS 0.18% (p7) NVDCVE.org
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N

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

CWE: CWE-59NVD: Analyzed