CVE-2025-68119Golang Go
High 7.0
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 42
- CVSS 3.1
- 7.0
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 28, 2026
- Updated
- Nov 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
Downloading and building modules with malicious version strings can cause local code execution. On systems with Mercurial (hg) installed, downloading modules from non-standard sources (e.g., custom domains) can cause unexpected code execution due to how external VCS commands are constructed. This issue can also be triggered by providing a malicious version string to the toolchain. On systems with Git installed, downloading and building modules with malicious version strings can allow an attacker to write to arbitrary files on the filesystem. This can only be triggered by explicitly providing the malicious version strings to the toolchain and does not affect usage of @latest or bare module paths.
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.24.13 |
1.24.13 |
go get toolchain@v1.24.13 |
| Go | toolchain |
≥ 1.25.0 < 1.25.6 |
1.25.6 |
go get toolchain@v1.25.6 |
Per OSV / GitHub Advisories (GO-2026-4338). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.24.12 |
| golang | go | ≥ 1.25.0 < 1.25.6 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7385 · May 15, 2026 Critical
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:7291 · May 14, 2026 Critical
- Security update for coredns · SUSE · openSUSE-SU-2026:20619-1 · Apr 23, 2026 Critical
- Security update for go1.24-openssl · SUSE · SUSE-SU-2026:20629-1 · Mar 3, 2026 Critical
Also: SUSE (+22)
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 Patch
- groups.google.com Mailing List Release Notes
- pkg.go.dev Vendor Advisory