Path Traversal in Golang Go

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 2.5 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N.

EPSS exploit prediction

EPSS: 0.001 (1.3th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 1st percentile — 1.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-27139: held from 0.002 to 0.001.

EPSS over last 30 days · oldest: 0.002 · newest: 0.001 · change: -0.001

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-27139?
CVE-2026-27139 is a low-severity vulnerability in Golang Go, classified under Path Traversal. CVSS score: 2.5/10. Published 2026-03-06.
How severe is CVE-2026-27139?
Low severity. CVSS v3 base score is 2.5 out of 10.