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…
EPSS 0.2%top 92%

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

0
Medium
VulnerabilityCVE-2026-39819cvecve-2026-39819cwe-377
Published: 05/07/2026 (05/07/2026, 19:41:18 UTC)
Source: CVE Database V5
Vendor/Project: Go toolchain
Product: cmd/go

Description

CVE-2026-39819 is a medium severity vulnerability in the Go toolchain's cmd/go component. The 'go bug' command creates temporary files with predictable names in the system temporary directory. This allows an attacker with access to that directory to create symbolic links with those names, potentially causing the command to overwrite unintended files. No official patch or remediation is currently available, and no known exploits have been reported.

CVSS v3.1

Score 5.3medium

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N

Affected software

github.com/golang/go
pkg:golang/github.com/golang/go
Affected versions
=0=1.26.0-0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 17:19:11 UTC

Technical Analysis

This vulnerability (CVE-2026-39819) affects the Go toolchain's cmd/go component, specifically the 'go bug' command. It writes temporary files using predictable filenames in the system temporary directory. An attacker with local access to this directory could exploit this by creating symbolic links with those predictable names, leading to unauthorized file modification through overwriting files pointed to by the symlinks. The CVSS score is 5.3 (medium severity), reflecting limited attack vector and required privileges. There is currently no official fix or remediation from the vendor.

Potential Impact

An attacker with local access and low privileges to the system temporary directory could cause the 'go bug' command to overwrite arbitrary files by exploiting predictable temporary file names and symbolic link creation. This could lead to unauthorized modification of files, impacting integrity. Confidentiality impact is low, and availability is not affected. No known exploits have been reported in the wild.

Mitigation Recommendations

There is currently no official patch or remediation available from the vendor. Users should exercise caution when running the 'go bug' command in environments where untrusted users have access to the system temporary directory. Monitor vendor advisories for updates regarding a fix or mitigation.

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: 05/07/2026, 20:06:25 UTC

Last enriched: 06/24/2026, 17:19:11 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 111

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