PoC Monitor
← All CVEs
CVE-2025-4674published 29 Jul 2025 21:19 UTCData: JSON · API

Go toolchain cmd/go

Unexpected command execution in untrusted VCS repositories in cmd/go

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CISA ADP · CWE-73
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Go toolchain cmd/go
  • < 1.23.11
  • >= 1.24.0-0, < 1.24.5

Fixed in 1.23.11, 1.24.5

Mitigation

Upgrade cmd/go to 1.23.11 or 1.24.5 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published29 Jul 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.