CVE-2025-4674Golang Go
High 8.6
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Go.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.23.11 |
| golang | go | ≥ 1.24.0 < 1.24.5 |
Official advisories
- Security update for go1.25-openssl · SUSE · SUSE-SU-2026:0298-1 · Jan 26, 2026 Critical
- Security update for go1.25-openssl · SUSE · SUSE-SU-2026:0297-1 · Jan 26, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Issue Tracking Third Party Advisory
- groups.google.com Mailing List Release Notes
- pkg.go.dev Vendor Advisory
- www.openwall.com Mailing List Release Notes