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 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:1.26.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-03-06 22:16

Updated : 2026-06-17 10:26


NVD link : CVE-2026-27139

Mitre link : CVE-2026-27139

CVE.ORG link : CVE-2026-27139


JSON object : View

Products Affected

golang

  • go
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')