← Back to CVEs
CVE-2025-4674
HIGH8.6
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.
CVE Details
CVSS v3.1 Score8.6
SeverityHIGH
CVSS VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack VectorLOCAL
ComplexityLOW
Privileges RequiredNONE
User InteractionREQUIRED
Published7/29/2025
Last Modified1/29/2026
Sourcenvd
Honeypot Sightings0
Affected Products
golang:go
Weaknesses (CWE)
CWE-73
References
https://go.dev/cl/686515(security@golang.org)
https://go.dev/issue/74380(security@golang.org)
https://groups.google.com/g/golang-announce/c/gTNJnDXmn34(security@golang.org)
https://pkg.go.dev/vuln/GO-2025-3828(security@golang.org)
http://www.openwall.com/lists/oss-security/2025/07/08/5(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.