Live threats

All CVEs / Golang

CVE-2025-4674Golang Go

High 8.6

Priority
52
CVSS 3.1
8.6
EPSS
—
Auth required
Yes
Published
Jul 29, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-73
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go toolchain < 1.23.11 1.23.11 go get toolchain@v1.23.11
Go toolchain ≥ 1.24.0-0 < 1.24.5 1.24.5 go get toolchain@v1.24.5

Per OSV / GitHub Advisories (GO-2025-3828). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.23.11
golanggo≥ 1.24.0 < 1.24.5

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.