Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
Historical advisory saved 14 Nov 2026 13:57:00 UTC. The publisher may have updated it since then. Latest advisory.
osv · GO-2026-4978
PublishedThe "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.
- Source published
- 7 May 2026 19:21:40 UTC
- Source modified
- 14 Nov 2026 13:12:13 UTC
- Saved here
- 14 Nov 2026 13:57:00 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.