GO-2026-4978
Dashboard / Vulnerabilities / GO-2026-4978
GO-2026-4978
Published: 7 May 2026Last Modified: 31 Aug 2026
Summary: Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
Details: 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.
References: https://go.dev/issue/78584, https://go.dev/cl/763882, https://groups.google.com/g/golang-announce/c/qcCIEXso47M
Affected packages
Package
Name: toolchain
Purl: pkg:golang/toolchain
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.25.10
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
