Vulnerabilities

Vulnerability · CVE-2025-4674

The go command may execute unexpected commands when operating in untrusted VCS repositories.

Published Jul 29, 2025 · catalog updated Nov 4, 2025 · Go toolchain

Check this week

CVE-2025-4674 is not in CISA KEV. FIRST estimates a 44.00% chance of exploitation in the next 30 days. Check whether you run Go toolchain.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High8.6
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
44.00%
Remediation
Version ranges on file
Affected products
vendor Go toolchain cmd/go 0 <1.23.11

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor Go toolchain cmd/go 0 <1.23.110 <1.23.11

How to fix CVE-2025-4674

  • Recommended remediation

    Affected version ranges suggest a fixed boundary. Verify against the vendor advisory for your release.

  • Official advisories

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2025-4674 is not in CISA KEV. FIRST estimates a 44.00% chance of exploitation in the next 30 days. Check whether you run Go toolchain.

Which versions are affected?

Compare what you have installed with Go toolchain cmd/go 0 <1.23.11 0 <1.23.11. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 44.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jul 29, 2025 · EUVD

    Detected

    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.

  2. Nov 4, 2025 · EUVD

    Updated

    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.

Sources

  • EUVDVulnerability recordEUVD-2025-23047

    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 V

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Nov 4, 2025. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.