CVE-2026-39819

GO-2026-4978 · published 7 May 2026 · updated 14 Nov 2026

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

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.25.10, 1.26.3 and toolchain 1.26.3.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go toolchain<1.25.10, >=1.26.0-0 <1.26.31.25.10, 1.26.3
golanggo<1.25.10, >=1.26.0 <1.26.31.25.10, 1.26.3
go: toolchain>=1.26.0-0 <1.26.31.26.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in toolchain (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-39819 severity on Zeptric[![CVE-2026-39819](https://zeptric.io/badge/cve/CVE-2026-39819.svg)](https://zeptric.io/cve/CVE-2026-39819)