BreachSpiderVerified, not vibes

CVE-2025-68119 in Golang Go

High 7.0

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 t...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.0
EPSS0.3%
EPSS percentile14th
FixUnknown

Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Golang Go < 1.24.12 ≥ 1.25.0, < 1.25.6

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-68119
BreachSpider IDBS-2026-GLOBAL-029800-H
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2026-01-28
Last modified2026-11-23
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Analysis AI-written, not human-reviewed

Downloading and building modules with malicious version strings can lead to local code execution on systems with Mercurial installed.

The vulnerability arises from the construction of external VCS commands when downloading modules from non-standard sources or using malicious version strings. This can result in the execution of arbitrary code on the local system.

Questions

What is CVE-2025-68119?

Downloading and building modules with malicious version strings can lead to local code execution on systems with Mercurial installed.

What is the CVSS score for CVE-2025-68119?

CVE-2025-68119 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.

Is CVE-2025-68119 actively exploited?

No confirmed active exploitation of CVE-2025-68119 as of 2026-11-24.

How do I remediate CVE-2025-68119?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2025-68119?

CVE-2025-68119 affects Golang Go.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Golang","product":"Go","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-23.