Link Following Affecting golang-docs package, versions <0:1.25.10-1.amzn2.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-GOLANGDOCS-16881505
  • published27 May 2026
  • disclosed7 May 2026

Introduced: 7 May 2026

NewCVE-2026-39819  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 golang-docs to version 0:1.25.10-1.amzn2.0.1 or higher.
This issue was patched in ALAS2-2026-3313.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-docs package and not the golang-docs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1