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.
History

Fri, 06 Mar 2026 21:45:00 +0000

Type Values Removed Values Added
Description 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.
Title FileInfo can escape from a Root in os
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2026-03-06T21:28:14.451Z

Reserved: 2026-02-17T19:57:28.435Z

Link: CVE-2026-27139

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-06T22:16:01.070

Modified: 2026-03-06T22:16:01.070

Link: CVE-2026-27139

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.