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.
Exploitability
AV:LAC:HPR:LUI:NScope
S:UImpact
C:LI:HA:N5.3/CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N