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.
https://pkg.go.dev/vuln/GO-2026-4978
Published: 2026-05-07
Updated: 2026-05-13
Named Vulnerability: GO-2026-4978Named Vulnerability: GHSA-5m4p-2gjx-p2g8
Base Score: 4.5
Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:C/A:N
Severity: Medium
Base Score: 5.3
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
Severity: Medium
EPSS: 0.00179