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-68119

cmd/go: cmd/go: Local code execution and arbitrary file write via malicious module version strings

Overview

Published
28 Jan 2026
Modified
17 Jun 2026
High CVE
1 Registry packages
1,285 OS packages
14 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

7 · HIGH

CVSS 3.1 base score, scored by NVD.

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

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

Weakness: CWE-787

Affected packages · 1

Packages affected by CVE-2025-68119
EcosystemPackageVulnerableFixed in
Bitnami golang >=1.25.0, <1.25.6 1.25.6

Open a package to see all its vulnerabilities.

Operating systems · 1,328 fixes

Azure Linux 1 release · 1 package

fixed 1
golang
Azure Linux fixes for CVE-2025-68119
ReleasePackageFixed in
3.0 golang 0:1.25.6-1.azl3

Photon OS 1 release · 1 package

fixed 1
go
Photon OS fixes for CVE-2025-68119
ReleasePackageFixed in
5.0 go 1.24.13-1.ph5

Red Hat 2 releases · 1 package

eol 1 affected 1
go-toolset
Red Hat fixes for CVE-2025-68119
ReleasePackageFixed in
8 (go-toolset:rhel8) go-toolset +7 eol
9 go-toolset +7 affected

SUSE Linux Enterprise 5 releases · 4 packages

fixed 20
go1-24-openssl go1-24 go1-25 go1-25-openssl
SUSE Linux Enterprise fixes for CVE-2025-68119
ReleasePackageFixed inAdvisory
15.4 go1-24-openssl +2 1.24.12-150000.1.18.1 SUSE-SU-2026:0296-1
15.4 go1-24 +2 1.24.12-150000.1.53.1 SUSE-SU-2026:0219-1
15.4 go1-25 +2 1.25.6-150000.1.26.1 SUSE-SU-2026:0218-1
15.4 go1-25-openssl +2 1.25.6-150000.1.9.1 SUSE-SU-2026:0297-1
15.5 go1-24-openssl +2 1.24.12-150000.1.18.1 SUSE-SU-2026:0296-1
15.5 go1-24 +2 1.24.12-150000.1.53.1 SUSE-SU-2026:0219-1

14 more rows

alpine 4 releases · 1 package

fixed 4
go
alpine fixes for CVE-2025-68119
ReleasePackageFixed in
3.22 go 1.24.12-r0
3.23 go 1.25.6-r0
3.24 go 1.25.6-r0
edge go 1.25.6-r0

amazon linux 1 release · 2 packages

fixed 2
golang amazon-ssm-agent
amazon linux fixes for CVE-2025-68119
ReleasePackageFixed in
2023 golang +6 1.24.12-1.amzn2023.0.1
2023 amazon-ssm-agent 3.3.3883.0-1.amzn2023

chainguard 1 release · 732 packages

fixed 732
scanner-test-golang-vulnerability-fixed qemu-guesthelper kube-vip-cloud-provider-0-0-10 kube-vip-cloud-provider stakater-reloader-0-0-128 local-path-provisioner +726
chainguard fixes for CVE-2025-68119
ReleasePackageFixed in
scanner-test-golang-vulnerability-fixed 0.0.1-r1
qemu-guesthelper 0.0.1-r7
kube-vip-cloud-provider-0-0-10 0.0.10-r8
kube-vip-cloud-provider 0.0.12-r8
stakater-reloader-0-0-128 0.0.128-r28
local-path-provisioner +1 0.0.34-r1

726 more rows

debian 4 releases · 3 packages

affected 4
golang-1-15 golang-1-19 golang-1-24
debian fixes for CVE-2025-68119
ReleasePackageFixed in
11 golang-1-15 affected
12 golang-1-19 affected
13 golang-1-24 affected
14 golang-1-24 affected

echo 1 release · 2 packages

affected 1 fixed 1
golang-1-19 golang-1-24
echo fixes for CVE-2025-68119
ReleasePackageFixed in
golang-1-19 affected
golang-1-24 1.24.12

minimos 1 release · 260 packages

fixed 260
pombump tw cargobump grype falcoctl kserve-modelmesh-runtime-adapter-fips +254
minimos fixes for CVE-2025-68119
ReleasePackageFixed in
pombump 0.0.16-r4
tw 0.0.36-r0
cargobump 0.1.0-r5
grype 0.105.0-r0
falcoctl +1 0.12.0-r0
kserve-modelmesh-runtime-adapter-fips 0.12.0-r4

254 more rows

openSUSE 1 release · 3 packages

fixed 3
coredns go1-24 go1-25
openSUSE fixes for CVE-2025-68119
ReleasePackageFixed inAdvisory
Tumbleweed coredns +1 1.14.1-1.1 openSUSE-SU-2026:10101-1
Tumbleweed go1-24 +3 1.24.12-1.1 openSUSE-SU-2026:10063-1
Tumbleweed go1-25 +3 1.25.6-1.1 openSUSE-SU-2026:10064-1

openSUSE Leap 1 release · 5 packages

fixed 5
coredns go1-24 go1-24-openssl go1-25 go1-25-openssl
openSUSE Leap fixes for CVE-2025-68119
ReleasePackageFixed inAdvisory
16.0 coredns +1 1.14.2-bp160.1.1 openSUSE-SU-2026:20619-1
16.0 go1-24 +3 1.24.12-160000.1.1 openSUSE-SU-2026:20077-1
16.0 go1-24-openssl +2 1.24.13-160000.1.1 openSUSE-SU-2026:20308-1
16.0 go1-25 +3 1.25.6-160000.1.1 openSUSE-SU-2026:20085-1
16.0 go1-25-openssl +2 1.25.7-160000.1.1 openSUSE-SU-2026:20301-1

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-68119
ReleasePackageFixed in
12 rootio-golang-1-19 affected
13 golang-1-24 +1 1.24.4-1.root.io.19

wolfi 1 release · 290 packages

fixed 290
kube-vip-cloud-provider local-path-provisioner sbom-scorecard sbom-convert gke-gcloud-auth-plugin cargobump +284
wolfi fixes for CVE-2025-68119
ReleasePackageFixed in
kube-vip-cloud-provider 0.0.12-r8
local-path-provisioner 0.0.34-r1
sbom-scorecard 0.0.7-r26
sbom-convert 0.0.7-r7
gke-gcloud-auth-plugin 0.1.0-r12
cargobump 0.1.0-r9

284 more rows

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.