Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39819: CWE-377: Insecure Temporary File in Go toolchain cmd/go

0
Unknown
VulnerabilityCVE-2026-39819cvecve-2026-39819cwe-377
Published: Thu May 07 2026 (05/07/2026, 19:41:18 UTC)
Source: CVE Database V5
Vendor/Project: Go toolchain
Product: 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/07/2026, 20:22:10 UTC

Technical Analysis

The vulnerability involves the "go bug" command in the Go toolchain writing to two files with predictable names in the system temporary directory (e.g., /tmp). Because these filenames are predictable, an attacker who can write to the temporary directory can create symbolic links with those names. When "go bug" runs, it follows the symlink and overwrites the linked target file, potentially leading to unauthorized file overwrite and integrity compromise. This issue is categorized under CWE-377: Insecure Temporary File.

Potential Impact

An attacker with access to the system's temporary directory can exploit this vulnerability to overwrite arbitrary files by creating symbolic links with predictable temporary filenames. This can lead to unauthorized modification of files, potentially affecting system integrity or causing denial of service. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write access to the system temporary directory to trusted users only to prevent unauthorized creation of symbolic links. Avoid running the "go bug" command in untrusted environments or with elevated privileges.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-04-07T18:13:03.526Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69fcf0c1cbff5d86102bd5bf

Added to database: 5/7/2026, 8:06:25 PM

Last enriched: 5/7/2026, 8:22:10 PM

Last updated: 5/8/2026, 10:24:12 AM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses