blob: 982a9bb5b640bae3ad15e9b84bb1ae59c0f36c8f [file]
{
"schema_version": "1.3.1",
"id": "GO-2026-4978",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2026-39819"
],
"summary": "Invoking \"go bug\" follows symlinks in predictable temporary filenames in cmd/go",
"details": "The \"go bug\" command writes to two files with predictable names in the system temporary directory (for example, \"/tmp\").\n\nAn attacker with access to the temporary directory can create a symlink in one of these names, causing \"go bug\" to overwrite the target of the symlink.",
"affected": [
{
"package": {
"name": "toolchain",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.25.10"
},
{
"introduced": "1.26.0-0"
},
{
"fixed": "1.26.3"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "cmd/go"
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/78584"
},
{
"type": "FIX",
"url": "https://go.dev/cl/763882"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/qcCIEXso47M"
}
],
"credits": [
{
"name": "Harshit Gupta (Mr HAX)"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2026-4978",
"review_status": "REVIEWED"
}
}