CVE-2025-68119
Unexpected code execution when invoking toolchain in cmd/go
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.375% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7 · published by Ubuntu SecurityCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Assessment source · checked 2026-11-19T16:50:10.263Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T16:50:10.263Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:04:42.360Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:40.410Z | OSV |
| affected | verified | 2026-11-19T12:57:45.664Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:45.664Z | CVE Program |
Affected versions and configuration
Go toolchain cmd/go; default status: unaffected: 1.25.0 to < 1.25.6 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "golang-1.23",
"debian": "https://tracker.debian.org/pkg/golang-1.23",
"source": "https://ubuntu.com/security/cve?package=golang-1.23",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=golang-1.23",
"statuses": [
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "golang-1.22",
"debian": "https://tracker.debian.org/pkg/golang-1.22",
"source": "https://ubuntu.com/security/cve?package=golang-1.22",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=golang-1.22",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Go toolchain",
"product": "cmd/go",
"versions": [
{
"status": "affected",
"version": "1.25.0",
"lessThan": "1.25.6",
"versionType": "semver"
}
],
"packageName": "cmd/go",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-68119",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-01-29T04:55:55.432053Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-02-26T15:04:45.665Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2026-4338",
"aliases": [
"BIT-golang-2025-68119",
"CVE-2025-68119"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.25.0"
},
{
"fixed": "1.25.6"
}
]
}
],
"package": {
"name": "toolchain",
"purl": "pkg:golang/toolchain",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2026-4338.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "cmd/go"
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/736710",
"type": "FIX"
},
{
"url": "https://go.dev/issue/77099",
"type": "REPORT"
},
{
"url": "https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUc",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2026-4338",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | toolchain | Not a distribution channel | 1.25.6 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T16:50:10.263ZArchived source JSON
Source publication: 2026-01-28T20:16:00.000Z
Source modification: 2026-02-04T13:21:53.044ZDocument fingerprint
51405bd312f65a87f8fa6d08f996f5507057d614d552825ca91c1d0ea4e0d34a - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:45.664ZArchived source JSON
Source publication: 2026-01-28T19:30:30.704Z
Source modification: 2026-02-26T15:04:45.665ZDocument fingerprint
ddd5ac1c25dcc52d93f6bbc5f3c8c375a541d3f2789e5b897b82dbeecfc67f3f - Ubuntu SecurityConsulted: 2026-11-19T16:51:31.838ZArchived source JSON
Source publication: 2026-01-28T20:16:00.000Z
Source modification: 2026-02-04T13:21:53.044ZDocument fingerprint
b8b104a73e99754ea590187dbeed67c7a677e5e1c66a9f67fdc9033003cd21e2 - OSVConsulted: 2026-11-19T12:52:40.410ZArchived source JSON
Source publication: 2026-01-28T19:07:48.000Z
Source modification: 2026-05-15T10:59:22.805ZDocument fingerprint
bc4314d2fcdd026d1fe507f5e575d75cbddb3cec98f7a1d5cbcc4e6949d26bbb - FIRST EPSSConsulted: 2026-11-19T16:04:42.360ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
f3e0006c4bf23264f8d6151e6627f3c4e610e9660acb6cdae7bca2bafe3eb770
Official status history
- UNKNOWN → PUBLISHED · · evidence