CVE-2025-4674
Unexpected command execution in untrusted VCS repositories in cmd/go
8.6
HIGH
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2025-4674
To remediate CVE-2025-4674, upgrade the affected package to a fixed version below.
- —upgrade to 1.23.11 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 1.23.11 or later
Is CVE-2025-4674 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 1.23.11, >= 1.24.0-0, < 1.24.5
- from 0
- from 0
- from 0
- from 0, < 1.23.11, >= 1.24.0-0, < 1.24.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.6 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |