UNKNOWN Go
Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
GO-2026-4978 · BIT-golang-2026-39819 · CVE-2026-39819
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes