CVE-2025-68119
Last modified
CVE-2025-68119 is a high-severity vulnerability rated 7/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.24.12 |
| Golang | Go | >= 1.25.0, < 1.25.6 |
References
- https://go.dev/issue/77099Issue Tracking, Patch
- https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUcMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2026-4338Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-68119?
How severe is CVE-2025-68119?
How do I fix CVE-2025-68119?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-68112ChurchCRM is an open-source church management system. In ver…8.8
- CVE-2025-68113ALTCHA is privacy-first software for captcha and bot protect…6.5
- CVE-2025-68114Capstone is a disassembly framework. In versions 6.0.0-Alpha…9.8
- CVE-2025-68115Parse Server is an open source backend that can be deployed …6.1
- CVE-2025-68116FileRise is a self-hosted web file manager / WebDAV server. …5.4
- CVE-2025-68118FreeRDP is a free implementation of the Remote Desktop Proto…9.1
- CVE-2025-68120To prevent unexpected untrusted code execution, the Visual S…5.4
- CVE-2025-68121During session resumption in crypto/tls, if the underlying C…10
- CVE-2025-68124Rejected reason: reserved but not needed
- CVE-2025-68125Rejected reason: reserved but not needed
- CVE-2025-68126Rejected reason: reserved but not needed
- CVE-2025-68127Rejected reason: reserved but not needed
Are you affected by CVE-2025-68119?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
