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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39822.json",
"cna_assigner": "Go",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"fixed": "1.25.12"
},
{
"introduced": "1.26.0-0"
},
{
"fixed": "1.26.5"
},
{
"introduced": "1.27.0-0"
},
{
"fixed": "1.27.0-rc.2"
}
]
}
]
}{
"cpe": [
"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"cpe:2.3:a:golang:go:1.27:rc1:*:*:*:*:*:*"
],
"source": [
"CPE_RANGE",
"CPE_STRING"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.25.12"
},
{
"introduced": "1.26.0"
},
{
"fixed": "1.26.5"
},
{
"introduced": "1.27-rc1"
},
{
"last_affected": "1.27-rc1"
}
]
}