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.
References
Link Resource
https://go.dev/cl/797880 Patch
https://go.dev/issue/79005 Issue Tracking Patch
https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc Mailing List Patch Vendor Advisory
https://pkg.go.dev/vuln/GO-2026-4970 Vendor Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:1.27:rc1:*:*:*:*:*:*

History

13 Jul 2026, 14:54

Type Values Removed Values Added
References () https://go.dev/cl/797880 - () https://go.dev/cl/797880 - Patch
References () https://go.dev/issue/79005 - () https://go.dev/issue/79005 - Issue Tracking, Patch
References () https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc - () https://groups.google.com/g/golang-announce/c/OrmQE_Yp5Sc - Mailing List, Patch, Vendor Advisory
References () https://pkg.go.dev/vuln/GO-2026-4970 - () https://pkg.go.dev/vuln/GO-2026-4970 - Vendor Advisory
First Time Golang
Golang go
CPE cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:1.27:rc1:*:*:*:*:*:*

08 Jul 2026, 20:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CWE CWE-61

08 Jul 2026, 17:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-08 17:17

Updated : 2026-07-13 14:54


NVD link : CVE-2026-39822

Mitre link : CVE-2026-39822

CVE.ORG link : CVE-2026-39822


JSON object : View

Products Affected

golang

  • go
CWE
CWE-61

UNIX Symbolic Link (Symlink) Following