CVE-2025-4674

HIGH
Published Jul 29, 2025 Modified Jan 29, 2026 CWE-73

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 v3.1 Score

8.6
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Weakness Type (CWE)

CWE-73 CWE-73

Affected Products

Vendor Product
golang go
golang go

References

Frequently Asked Questions

What is CVE-2025-4674? +
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. It has a CVSS v3.1 base score of 8.6 (HIGH).
How severe is CVE-2025-4674? +
CVE-2025-4674 has a CVSS v3.1 score of 8.6 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2025-4674? +
CVE-2025-4674 affects products from golang, specifically: go. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-4674? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-4674 — free, no signup required.

Start Free Scan