Skip to content

cmd/go

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

CVE-2026-39819Published 7 May 2026, 19:41 UTC

Real-world risk

1.3/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.3

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from 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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
cmd/goNiche< 1.25.10; >= 1.26.0-0, < 1.26.31.25.10, 1.26.3

What to do

Update to a fixed version: 1.25.10, 1.26.3.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.225
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.7 × prerequisites 0.225 × threat 0.851.339
  4. Rounded to one decimal between 0.1 and 101.3

How the score works

Exploitation and evidence timeline

  1. 7 May 2026 Published
  2. 3 Dec 2026 Risk 1.3 (cvss fallback)

Weakness

CWE-377

References

Get alerts for cmd/go

Free email or text alerts when a vulnerability in cmd/go reaches risk 8 or higher. Nothing else.