Skip to main content
Network Thinking Solutions Logo

CVE-2025-68119

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.

All CVEs
CVE-2025-68119Published 1/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.

Vendor advisory
CVSS 3.17.0High

Overview

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.

Published
1/28/2026
Last modified
11/23/2026
CVE assigner
Go
NVD analysis
Analyzed

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
go
golang
< 1.24.12

Verify advisory

Source
go
golang
≥ 1.25.0, < 1.25.6

Verify advisory

Source
cmd/go
Go toolchain
< 1.24.13

Verify advisory

Source
cmd/go
Go toolchain
≥ 1.25.0, < 1.25.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

go.dev/issue/77099Issue Tracking · Patch

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.0 · High CVSS 3.1

Scored by CISA-ADP

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

7.0 · High CVSS 3.1

Scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Related weaknesses

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.