CVE-2025-4674
BaseFortify
Publication date: 2025-07-29
Last updated on: 2025-11-04
Assigner: Go Project
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| 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 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.