CVE-2026-27139

low

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.

References

https://pkg.go.dev/vuln/GO-2026-4602

https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk

https://go.dev/issue/77827

https://go.dev/cl/749480

Details

Source: Mitre, NVD

Published: 2026-03-06

Updated: 2026-03-09

Risk Information

CVSS v2

Base Score: 1.7

Vector: CVSS2#AV:L/AC:L/Au:S/C:P/I:N/A:N

Severity: Low

CVSS v3

Base Score: 2.5

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Severity: Low

EPSS

EPSS: 0.00005