Skip to content
2.5 Low

CVE-2026-27139 On Unix platforms, when listing the contents of a directory using File.ReadDir or File.Readdir the returned FileInfo…

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.

Affected products and versions

Product Affected versions Fixed in
os 1.26 1.26.0-0 → < 1.26.1 1.26.1
os 1.25 earliest → < 1.25.8 1.25.8

References

Timeline

  1. Published
  2. Last modified
The 6 CVEs of os →
Track this CVE