Local Code Execution Vulnerability in Mercurial and Git Products by Go
CVE-2025-68119
7HIGH
What is CVE-2025-68119?
The vulnerability enables local code execution on systems where Mercurial or Git is installed when modules with malicious version strings are downloaded and built. This threat arises when users interact with non-standard sources or explicit version strings, leading to unintended command execution or unauthorized writing to the filesystem. Developers and system administrators are urged to review their practices surrounding external module sourcing and version handling to mitigate the risks associated with this vulnerability.
Affected Version(s)
cmd/go 1.25.0 < 1.25.6
