ADVISORIES

Vulnerability

CVE-2026-39819

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.

7372 advisories report this vulnerability, across 14 ecosystems.

Advisories in Go

  • GO-2026-4978

    Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go

    CVE-2026-39819 Go Updated 23 November 2026

References