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 7.8EPSS 0.232%Risk 0.8
View source- Published
- 2026-07-08 17:17:21
- Affected versions
- unknown
- Type
- Other
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H