CVE-2026-27139
Last modified
CVE-2026-27139 is a low-severity vulnerability rated 2.5/10 on the CVSS scale. 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.. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.25.8 |
| Golang | Go | 1.26.0 |
References
- https://go.dev/cl/749480Mailing List
- https://go.dev/issue/77827Issue Tracking
- https://pkg.go.dev/vuln/GO-2026-4602Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-27139?
How severe is CVE-2026-27139?
How do I fix CVE-2026-27139?
Are you affected by CVE-2026-27139?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
