VulnWatch by ve1ve2
low 2.5 EPSS 0.22%

CVE-2026-27139: 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…

Source:
NVD CVE API 2.0
Published:
Fetched:
Updated:
Affects:
google

https://nvd.nist.gov/vuln/detail/CVE-2026-27139 ↗

CWE-22

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. References: https://go.dev/cl/749480 https://go.dev/issue/77827 https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk https://pkg.go.dev/vuln/GO-2026-4602

Linked vulnerabilities (1)

CVE-2026-27139 low 2.5 EPSS 0.22% (p12) NVDCVE.org
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

FileInfo can escape from a Root in os

CWE: CWE-22NVD: Analyzed

Also reported by (1)