Live threats

All CVEs / Golang

CVE-2026-27139Golang Go

Low 2.5

Priority
15
CVSS 3.1
2.5
EPSS
—
Auth required
Yes
Published
Mar 6, 2026
Updated
Nov 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.25.8 1.25.8 go get stdlib@v1.25.8
Go stdlib ≥ 1.26.0-0 < 1.26.1 1.26.1 go get stdlib@v1.26.1

Per OSV / GitHub Advisories (GO-2026-4602). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.25.8
golanggo1.26.0

Official advisories

Also: SUSE (+19)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.