Description
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 (4)
Core 4
Scores
CVSS v3
7.8
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-61
Status
published
Products (3)
Go standard library/os
< 1.25.12
Go standard library/os
1.26.0-0 - 1.26.5
Go standard library/os
1.27.0-0 - 1.27.0-rc.2
Published
Jul 08, 2026
Tracked Since
Jul 08, 2026