CVE-2026-27139

LOW

File.ReadDir/Readdir - Path Traversal

Title source: llm
STIX 2.1

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 (4)

Core 4

Scores

CVSS v3 2.5
EPSS 0.0001
EPSS Percentile 0.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (2)
golang/go 1.26.0
golang/go < 1.25.8
Published Mar 06, 2026
Tracked Since Mar 07, 2026