CVE-2025-68119

HIGH CVSS 3.1: 7.0 EPSS 0.38%
Updated Nov 24, 2026
Golang
Parameter Value
CVSS 7.0 (HIGH)
Affected Versions 1.25.0 — 1.25.6
Fixed In 1.24.12
Type CWE-787 (Out-of-bounds Write)
Vendor Golang
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Golang Go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
— 1.24.12
Golang Go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
1.25.0 1.25.6