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.
CVE-2026-39819
CVSS base score
5.3 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-59
Last modified
November 11, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
Affected products
golang go
References
- go.dev Patch
- go.dev Issue Tracking
- groups.google.com Issue Tracking, Mailing List
- pkg.go.dev Vendor Advisory