cve.bz

CVE-2026-27139

2.5 lowEPSS 0.2%

Low (2.5) in golang go. EPSS 0.2% chance of exploitation in the next 30 days. Fixed in stdlib 1.25.8, 1.26.1.

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.

Severity

CVSS 3.1

2.5 low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.2% chance of exploitation in the next 30 days; higher than 11% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2026-4602Gostdlib<1.25.8
>=1.26.0-0 <1.26.1
1.25.8, 1.26.1

References

Check your stackJSON