{"id":"CVE-2025-4674","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-4674","generatedAt":"2026-10-28T05:58:39.067Z","title":"The go command may execute unexpected commands when operating in untrusted VCS repositories.","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.","published":"2025-07-29T22:15:25.000Z","lastModified":"2026-06-17T09:33:46.000Z","status":"Analyzed","sourceIdentifier":"security@golang.org","cvss":{"version":"3.1","score":8.6,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H"},"cwe":["CWE-73"],"affected":["golang/go"],"epss":{"score":0.00442,"percentile":0.38242,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.44%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://go.dev/cl/686515","tags":["Patch"],"source":"security@golang.org"},{"url":"https://go.dev/issue/74380","tags":["Issue Tracking","Third Party Advisory"],"source":"security@golang.org"},{"url":"https://groups.google.com/g/golang-announce/c/gTNJnDXmn34","tags":["Mailing List","Release Notes"],"source":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2025-3828","tags":["Vendor Advisory"],"source":"security@golang.org"},{"url":"http://www.openwall.com/lists/oss-security/2025/07/08/5","tags":["Mailing List","Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-4674","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}