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
Affected Vendors & Products
References
History
Tue, 21 Apr 2026 14:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Golang
Golang go |
|
| CPEs | cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* cpe:2.3:a:golang:go:1.26.0:*:*:*:*:*:*:* |
|
| Vendors & Products |
Golang
Golang go |
Tue, 10 Mar 2026 12:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
Mon, 09 Mar 2026 15:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Mon, 09 Mar 2026 10:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Go Standard Library
Go Standard Library os |
|
| Vendors & Products |
Go Standard Library
Go Standard Library os |
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 |
|
Status: PUBLISHED
Assigner: Go
Published:
Updated: 2026-03-09T14:53:58.363Z
Reserved: 2026-02-17T19:57:28.435Z
Link: CVE-2026-27139
Updated: 2026-03-09T14:53:42.735Z
Status : Analyzed
Published: 2026-03-06T22:16:01.070
Modified: 2026-04-21T14:32:36.317
Link: CVE-2026-27139
OpenCVE Enrichment
Updated: 2026-04-16T11:15:27Z