CVE-2026-39822
On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open("symlink/")' will open "symlink" even when "symlink" is a symbolic link pointing outside of the root.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 7.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.23%
- Percentil entre todas las CVEs puntuadas: 13
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1068Exploitation for Privilege Escalationprivilege escalation85 % - Impacto principal
T1005Data from Local Systemcollection75 % - Impacto secundario
T1565.001Stored Data Manipulationimpact70 %
AV:L + PR:L sin UI permite escalada local. Symlink traversal fuera de root permite lectura y modificación de archivos sensibles del sistema con permisos elevados.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-61
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-39822",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-39822",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-07-08T18:06:16.360721Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "security@golang.org",
"affectedData": [
{
"vendor": "Go standard library",
"product": "os",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.25.12",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.26.0-0",
"lessThan": "1.26.5",
"versionType": "semver"
},
{
"status": "affected",
"version": "1.27.0-0",
"lessThan": "1.27.0-rc.2",
"versionType": "semver"
}
],
"packageName": "os",
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "rootOpenFileNolog"
},
{
"name": "openRootInRoot"
},
{
"name": "OpenInRoot"
},
{
"name": "Root.Create"
},
{
"name": "Root.Open"
},
{
"name": "Root.OpenFile"
},
{
"name": "Root.OpenRoot"
},
{
"name": "Root.ReadFile"
},
{
"name": "Root.WriteFile"
},
{
"name": "rootFS.Open"
},
{
"name": "rootFS.ReadDir"
},
{
"name": "rootFS.ReadFile"
}
]
}
]
}
],
"published": "2026-07-08T17:17:21.310",
"references": [
{
"url": "https://go.dev/cl/797880",
"tags": [
"Patch"
],
"source": "security@golang.org"
},
{
"url": "https://go.dev/issue/79005",
"tags": [
"Issue Tracking",
"Patch"
],
"source": "security@golang.org"
},
{
"url": "https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc",
"tags": [
"Mailing List",
"Patch",
"Vendor Advisory"
],
"source": "security@golang.org"
},
{
"url": "https://pkg.go.dev/vuln/GO-2026-4970",
"tags": [
"Vendor Advisory"
],
"source": "security@golang.org"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Secondary",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"description": [
{
"lang": "en",
"value": "CWE-61"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "On Unix systems, opening a file in an os.Root improperly follows symlinks to locations outside of the Root when the final path component of the a path is a symbolic link and the path ends in /. For example, 'root.Open(\"symlink/\")' will open \"symlink\" even when \"symlink\" is a symbolic link pointing outside of the root."
}
],
"lastModified": "2026-09-17T17:10:20.047",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4E50284C-BE19-4F62-ABAE-B78B6BECDF49",
"versionEndExcluding": "1.25.12",
"versionStartIncluding": "1.24.0"
},
{
"criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "08CDCAED-0C22-42D9-97A8-77F19DEECDB2",
"versionEndExcluding": "1.26.5",
"versionStartIncluding": "1.26.0"
},
{
"criteria": "cpe:2.3:a:golang:go:1.27:rc1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1062DCC7-46FE-4CF5-ADEF-BEC03F8AB39E"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security@golang.org"
}