CVE-2026-27139

LOW CVSS 3.1: 2.5 EPSS 0.22%
Updated Nov 24, 2026
Golang
Parameter Value
CVSS 2.5 (LOW)
Affected Versions before 1.25.8
Fixed In 1.25.8
Type CWE-22 (Path Traversal)
Vendor Golang
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Golang Go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
— 1.25.8
Golang Go
cpe:2.3:a:golang:go:1.26.0:*:*:*:*:*:*:*
— —