CVE-2025-4674
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-29

Last updated on: 2025-11-04

Assigner: Go Project

Description
The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration is present in repositories. This can happen when a repository was fetched via one VCS (e.g. Git), but contains metadata for another VCS (e.g. Mercurial). Modules which are retrieved using the go command line, i.e. via "go get", are not affected.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-29
Last Modified
2025-11-04
Generated
2026-05-27
AI Q&A
2025-07-30
EPSS Evaluated
2026-05-25
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
golang go From 1.25.0 (inc) to 1.25.2 (inc)
golang cmd_go From 1.25.0 (inc) to 1.25.2 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability involves the 'go' command executing unexpected commands when working with untrusted version control system (VCS) repositories. It happens if a repository fetched by one VCS (like Git) contains configuration metadata for another VCS (like Mercurial), which may be dangerous. However, modules retrieved using the 'go get' command are not affected.


How can this vulnerability impact me? :

The vulnerability can lead to the execution of unexpected commands when using the 'go' command on untrusted repositories with mixed VCS metadata. This could potentially allow an attacker to run arbitrary commands, leading to security risks such as unauthorized code execution or system compromise.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart