Vulnerability
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.
167 advisories report this vulnerability, across 15 ecosystems.
Advisories in Red Hat
-
RHSA-2025:13935
Red Hat Security Advisory: golang security update
-
RHSA-2025:13936
Red Hat Security Advisory: golang security update
-
RHSA-2025:13939
Red Hat Security Advisory: golang security update
-
RHSA-2025:13940
Red Hat Security Advisory: go-toolset:rhel8 security update
-
RHSA-2025:13941
Red Hat Security Advisory: golang security update
-
RHSA-2025:14093
Red Hat Security Advisory: go-toolset:rhel8 security update