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