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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 09 May 2026 01:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-118
CWE-22

Sat, 09 May 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22

Fri, 08 May 2026 22:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 07 May 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22

Thu, 07 May 2026 20:00:00 +0000

Type Values Removed Values Added
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.
Title Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go
References

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-05-08T21:29:53.674Z

Reserved: 2026-04-07T18:13:03.526Z

Link: CVE-2026-39819

cve-icon Vulnrichment

Updated: 2026-05-08T16:57:14.663Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-05-07T20:16:43.083

Modified: 2026-05-08T22:16:29.360

Link: CVE-2026-39819

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-09T01:30:16Z

Weaknesses