Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2025-4674

cmd/go: Go VCS Command Execution Vulnerability

Overview

Published
29 Jul 2025
Modified
17 Jun 2026
High CVE
1 Registry packages
130 OS packages
16 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

8.6 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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

Weakness: CWE-73

Affected packages · 1

Packages affected by CVE-2025-4674
EcosystemPackageVulnerableFixed in
Bitnami golang <1.23.11>=1.24.0-0, <1.24.5 1.23.111.24.5

Open a package to see all its vulnerabilities.

Operating systems · 155 fixes

Oracle Linux 2 releases · 2 packages

fixed 3
delve go-toolset
Oracle Linux fixes for CVE-2025-4674
ReleasePackageFixed in
8 delve 1.24.1-1.0.1.module+el8.10.0+90602+3daf471e
8 go-toolset +6 1.24.6-1.module+el8.10.0+90641+f7c45302
9 go-toolset +7 1.24.6-1.el9_6

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2025-4674
ReleasePackageFixed in
5.0 go 1.26.3-1.ph5

Red Hat 2 releases · 3 packages

fixed 8
golang go-toolset delve
Red Hat fixes for CVE-2025-4674
ReleasePackageFixed inAdvisory
8 (go-toolset:rhel8) golang +6 0:1.19.13-16.module+el8.8.0+23410+958e78d9 RHSA-2025:14093
8 (go-toolset:rhel8) go-toolset 0:1.19.13-3.module+el8.8.0+22903+37387f31 RHSA-2025:14093
8 (go-toolset:rhel8) delve 0:1.24.1-1.module+el8.10.0+22945+b2c96a17 RHSA-2025:13940
8 (go-toolset:rhel8) go-toolset +6 0:1.24.6-1.module+el8.10.0+23407+428597c7 RHSA-2025:13940
8 (go-toolset:rhel8) delve 0:1.9.1-1.module+el8.8.0+16778+5fbb74f5 RHSA-2025:14093
9 golang +6 0:1.19.13-18.el9_2 RHSA-2025:13939

2 more rows

SUSE Linux Enterprise 4 releases · 6 packages

fixed 24
go1-23 go1-23-openssl go1-24 go1-24-openssl go1-25-openssl go1-25
SUSE Linux Enterprise fixes for CVE-2025-4674
ReleasePackageFixed inAdvisory
15.4 go1-23 +2 1.23.11-150000.1.37.1 SUSE-SU-2025:02296-1
15.4 go1-23-openssl +2 1.23.12-150000.1.18.1 SUSE-SU-2025:02812-1
15.4 go1-24 +2 1.24.5-150000.1.29.1 SUSE-SU-2025:02295-1
15.4 go1-24-openssl +2 1.24.6-150000.1.12.1 SUSE-SU-2025:02837-1
15.4 go1-25-openssl +2 1.25.0-150000.1.3.1 SUSE-SU-2025:03115-1
15.4 go1-25 +2 1.25.0-150000.1.5.1 SUSE-SU-2025:02924-1

18 more rows

alma 3 releases · 3 packages

fixed 4
golang-docs delve go-toolset
alma fixes for CVE-2025-4674
ReleasePackageFixed in
10 golang-docs +3 1.24.6-1.el10_0.alma.1
8 (go-toolset:rhel8) delve 1.24.1-1.module_el8.10.0+3977+66935a26
8 (go-toolset:rhel8) go-toolset +6 1.24.6-1.module_el8.10.0+4033+4bf8b620
9 go-toolset +7 1.24.6-1.el9_6

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2025-4674
ReleasePackageFixed in
3.22 go 1.24.6-r0
3.23 go 1.24.5-r0
3.24 go 1.24.5-r0
edge go 1.24.5-r0

amazon linux 1 release · 1 package

fixed 1
golang
amazon linux fixes for CVE-2025-4674
ReleasePackageFixed in
2023 golang +6 1.24.5-1.amzn2023.0.1

chainguard 1 release · 10 packages

fixed 10
kubeflow-katib newrelic-fluent-bit-output nemo nvidia-nsight-compute-12-8 nvidia-nsight-compute-12-9 nvidia-nsight-compute-13-0 +4
chainguard fixes for CVE-2025-4674
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40
newrelic-fluent-bit-output 2.4.0-r5
nemo 2.5.2-r2
nvidia-nsight-compute-12-8 2025.1.1.2-r8
nvidia-nsight-compute-12-9 2025.2.1.3-r8
nvidia-nsight-compute-13-0 2025.3.0.19-r2

4 more rows

debian 4 releases · 4 packages

affected 3 fixed 1
golang-1-15 golang-1-19 golang-1-23 golang-1-24
debian fixes for CVE-2025-4674
ReleasePackageFixed in
11 golang-1-15 affected
12 golang-1-19 affected
13 golang-1-23 +1 affected
14 golang-1-24 1.24.7-1

echo 1 release · 2 packages

affected 1 fixed 1
golang-1-19 golang-1-24
echo fixes for CVE-2025-4674
ReleasePackageFixed in
golang-1-19 affected
golang-1-24 1.24.5

minimos 1 release · 76 packages

fixed 76
pombump cue external-secrets-operator nats prometheus-alertmanager atlantis +70
minimos fixes for CVE-2025-4674
ReleasePackageFixed in
pombump 0.0.14-r2
cue 0.13.2-r1
external-secrets-operator 0.18.2-r1
nats 0.2.4-r0
prometheus-alertmanager 0.28.1-r3
atlantis 0.35.0-r1

70 more rows

openSUSE 1 release · 4 packages

fixed 4
govulncheck-vulndb go1-23 go1-24 go1-25
openSUSE fixes for CVE-2025-4674
ReleasePackageFixed inAdvisory
Tumbleweed govulncheck-vulndb 0.0.20250730T213748-1.1 openSUSE-SU-2025:15405-1
Tumbleweed go1-23 +3 1.23.11-1.1 openSUSE-SU-2025:15328-1
Tumbleweed go1-24 +3 1.24.5-1.1 openSUSE-SU-2025:15329-1
Tumbleweed go1-25 +3 1.25rc2-1.1 openSUSE-SU-2025:15330-1

rocky 3 releases · 2 packages

fixed 5
go-toolset delve
rocky fixes for CVE-2025-4674
ReleasePackageFixed in
10 go-toolset +7 1.24.6-1.el10_0
8 (go-toolset:rhel8) delve 1.24.1-1.module+el8.10.0+1951+c74bd827
8 (go-toolset:rhel8) delve 1.24.1-1.module+el8.10.0+1987+42f155bb
8 (go-toolset:rhel8) go-toolset +6 1.24.6-1.module+el8.10.0+2048+bc5b2e29
9 go-toolset +7 1.24.6-1.el9_6

root.io debian 2 releases · 2 packages

affected 1 fixed 1
rootio-golang-1-19 golang-1-24
root.io debian fixes for CVE-2025-4674
ReleasePackageFixed in
12 rootio-golang-1-19 affected
13 golang-1-24 +1 1.24.4-1.root.io.16

ubuntu 5 releases · 3 packages

affected 5
golang-1-18 golang-1-21 golang-1-23
ubuntu fixes for CVE-2025-4674
ReleasePackageFixed in
18.04-ESM golang-1-18 affected
20.04-ESM golang-1-18 +3 affected
22.04 golang-1-18 +4 affected
24.04 golang-1-21 +2 affected
26.04 golang-1-23 affected

wolfi 1 release · 2 packages

fixed 2
kubeflow-katib newrelic-fluent-bit-output
wolfi fixes for CVE-2025-4674
ReleasePackageFixed in
kubeflow-katib 0.19.0-r40
newrelic-fluent-bit-output 2.4.0-r5

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.