CVE-2026-39819: Invoking "go bug" follows symlinks in predictable temporary filenames in cmd/go

Published May 7, 2026
·
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 Software

3 affected components
go Go cmd/go
Golang Go<1.25.10
Golang Go>=1.26.0<1.26.3

Remediation

Event History

May 7, 2026
CVE Published
via MITRE·07:41 PM
Data Sourced
via MITRE·07:41 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-39819?

CVE-2026-39819 has a medium severity rating due to its potential to allow local attackers to execute arbitrary code.

2

What causes CVE-2026-39819?

CVE-2026-39819 is caused by the "go bug" command following symlinks in predictable temporary filenames.

3

How do I fix CVE-2026-39819?

To mitigate CVE-2026-39819, avoid using predictable filenames in the temporary directory or update to the latest patched version of Go.

4

Who is affected by CVE-2026-39819?

Users of the Go cmd/go tool who have access to the temporary directory are affected by CVE-2026-39819.

5

What type of attack is possible with CVE-2026-39819?

CVE-2026-39819 allows for symbolic link attacks, which can lead to unauthorized file access or code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203