CVE-2026-27139

FileInfo can escape from a Root in os

Low · published March 6, 2026

CVSS v3.1
2.5
EPSS
0%
Percentile
1.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
2.5 · LOW
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00118 · 1.7th percentile
Published
2026-03-06T21:28Z
EPSS history
Timeline
  • 06 MAR 21:28Z
    FileInfo can escape from a Root in os
    cvelistv5