CVE Database
/

CVE-2026-27139

Back to search

CVE-2026-27139

Published: Mar 6, 2026

Modified: Mar 9, 2026

PUBLISHED

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.

VendorProductVersions

Go standard library

os

affected
0 - < 1.25.8
affected
1.26.0-0 - < 1.26.1

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now