Live threats

All CVEs / Golang

CVE-2025-68119Golang Go

High 7.0

Priority
42
CVSS 3.1
7.0
EPSS
—
Auth required
Yes
Published
Jan 28, 2026
Updated
Nov 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, downloading modules from non-standard sources (e.g., custom domains) can cause unexpected code execution due to how external VCS commands are constructed. This issue can also be triggered by providing a malicious version string to the toolchain. On systems with Git installed, downloading and building modules with malicious version strings can allow an attacker to write to arbitrary files on the filesystem. This can only be triggered by explicitly providing the malicious version strings to the toolchain and does not affect usage of @latest or bare module paths.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go toolchain < 1.24.13 1.24.13 go get toolchain@v1.24.13
Go toolchain ≥ 1.25.0 < 1.25.6 1.25.6 go get toolchain@v1.25.6

Per OSV / GitHub Advisories (GO-2026-4338). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.24.12
golanggo≥ 1.25.0 < 1.25.6

Official advisories

Also: SUSE (+22)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.