What’s Vulnerable › Vulnerabilities

CVE-2026-39819: Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Go 1.25.10, 1.26.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-39819 or the next vulnerability affects your stack