CVE-2025-68119
January 28, 2026
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.
Affected Packages
https://github.com/golang/go.git (GITHUB):
Affected version(s) >=go1.25rc1 <go1.25.6Fix Suggestion:
Update to version go1.25.6https://github.com/golang/go.git (GITHUB):
Affected version(s) >=go1.0.1 <go1.24.12Fix Suggestion:
Update to version go1.24.12https://github.com/golang/go.git (GITHUB):
Affected version(s) =go1.26rc1 <go1.26rc2Fix Suggestion:
Update to version go1.26rc2Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.3
Attack Vector
LOCAL
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Out-of-bounds Write
EPSS
Base Score:
0.01