Go toolchain cmd/go 1.25.10, 1.26.3: temp file overwrite
CVE-2026-39819 Published on May 7, 2026

Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
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.

NVD


Products Associated with CVE-2026-39819

Want to know whenever a new CVE is published for GoLang Go? stack.watch will email you.

 

Affected Versions

Go toolchain cmd/go: