On Unix systems, opening a file in an os.Root improperly...
High severity
Unreviewed
Published
Jul 8, 2026
to the GitHub Advisory Database
•
Updated Jul 8, 2026
Description
Published by the National Vulnerability Database
Jul 8, 2026
Published to the GitHub Advisory Database
Jul 8, 2026
Last updated
Jul 8, 2026
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