CVE-2026-39819Published May 7, 2026 · May 7Updated Nov 13
Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
Go toolchain cmd/go
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| toolchain Go |
|
|
Original 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.
From the CVE record · Go