On Unix platforms, when listing the contents of a...
Low severity
Unreviewed
Published
Mar 7, 2026
to the GitHub Advisory Database
•
Updated Mar 9, 2026
Description
Published by the National Vulnerability Database
Mar 6, 2026
Published to the GitHub Advisory Database
Mar 7, 2026
Last updated
Mar 9, 2026
On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo could reference a file outside of the Root in which the File was opened. The impact of this escape is limited to reading metadata provided by lstat from arbitrary locations on the filesystem without permitting reading or writing files outside the root.
References