CVE-2026-27139
FileInfo can escape from a Root in os
2.5
LOW
CVSS 3.1
EPSS 0.01%
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.
How to fix CVE-2026-27139
To remediate CVE-2026-27139, upgrade the affected package to a fixed version below.
- —upgrade to 1.25.8 or later
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 1.25.8-1 or later
- —upgrade to 1.26.1-1 or later
- —upgrade to 1.25.8 or later
Is CVE-2026-27139 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- from 0, < 1.25.8, >= 1.26.0-0, < 1.26.1
- from 0
- from 0
- from 0
- from 0, < 1.25.8-1
- from 0, < 1.26.1-1
- from 0, < 1.25.8, >= 1.26.0-0, < 1.26.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW2.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |