CVE-2025-4674
Unexpected command execution in untrusted VCS repositories in cmd/go
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.475% · 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-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8.6 · published by Ubuntu SecurityCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Assessment source · checked 2026-11-19T16:50:18.698Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T16:50:18.698Z | Ubuntu Security |
| epss | verified | 2026-11-19T16:04:40.990Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:40.410Z | OSV |
| affected | verified | 2026-11-19T12:57:34.801Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:34.801Z | CVE Program |
Affected versions and configuration
Go toolchain cmd/go; default status: unaffected: 0 to < 1.23.11 [affected; scheme: semver]; 1.24.0-0 to < 1.24.5 [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": "needed",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needed",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]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": "resolute"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "Go toolchain",
"product": "cmd/go",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.23.11",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.24.0-0",
"lessThan": "1.24.5",
"versionType": "semver"
}
],
"packageName": "cmd/go",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"cvssV3_1": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 8.6,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-4674",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2025-08-06T16:03:21.628652Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-73",
"description": "CWE-73 External Control of File Name or Path"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-08-06T16:06:57.979Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2025/07/08/5"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-04T21:10:50.871Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2025-3828",
"aliases": [
"BIT-golang-2025-4674",
"CVE-2025-4674"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.23.11"
},
{
"introduced": "1.24.0-0"
},
{
"fixed": "1.24.5"
}
]
}
],
"package": {
"name": "toolchain",
"purl": "pkg:golang/toolchain",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2025-3828.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "cmd/go"
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://go.dev/cl/686515",
"type": "FIX"
},
{
"url": "https://go.dev/issue/74380",
"type": "REPORT"
},
{
"url": "https://groups.google.com/g/golang-announce/c/gTNJnDXmn34",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2025-3828",
"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.23.11 | Official record |
| ecosystem-boundary | Go / package | toolchain | Not a distribution channel | 1.24.5 | 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:18.698ZArchived source JSON
Source publication: 2025-07-29T22:15:00.000Z
Source modification: 2026-11-04T08:26:29.847ZDocument fingerprint
5e3a0376f2a56a54c6060da4117b4b585eb797d09f8e06f4068d58213af6defd - CVE ProgramConsulted: 2026-11-19T12:57:34.801ZArchived source JSON
Source publication: 2025-07-29T21:19:08.519Z
Source modification: 2025-11-04T21:10:50.871ZDocument fingerprint
ba79fd1134abe7e8e346bacb83d71008ff5a1df474c5d7d38f2cceb0268b7fbd - Ubuntu SecurityConsulted: 2026-11-19T16:52:11.591ZArchived source JSON
Source publication: 2025-07-29T22:15:00.000Z
Source modification: 2026-11-04T08:26:29.847ZDocument fingerprint
ac7a517f42527070e16072d9f8be958011a8cf3cb106728788a2051316309efc - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:40.410ZArchived source JSON
Source publication: 2025-07-29T21:02:00.000Z
Source modification: 2026-02-04T03:33:13.542ZDocument fingerprint
bc4314d2fcdd026d1fe507f5e575d75cbddb3cec98f7a1d5cbcc4e6949d26bbb - FIRST EPSSConsulted: 2026-11-19T16:04:40.990ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
a61f5deec65b1a30b54fc6ad686dda6767c11c22f88b3bf1af4c6db9cb0d67b3
Official status history
- UNKNOWN → PUBLISHED · · evidence