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.
CVSS breakdown
CVSS 3.1
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Golang / Go1.25.12
- Golang / Go1.27 – 1.27
- Go standard library / os0 – 1.25.12
- Go standard library / os1.26.0-0 – 1.26.5
- Go standard library / os1.27.0-0 – 1.27.0-rc.2
Updated 23m ago · 8 sources