CVE-2026-39819
The "go bug" command writes to two files with predictable names in the system temporary directory (for example, "/tmp").
Published May 7, 2026 · updated Jun 17, 2026 · golang 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.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
May 7, 2026 · NIST NVD
Detected
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.
Jun 17, 2026 · NIST NVD
Updated
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
- cpe golang/goversion unspecified
Sources
- CVE.orgVulnerability recordCVE-2026-39819
Official CVE identifier
cve.org - NIST NVDVulnerability recordCVE-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.
nvd.nist.gov