2.5Niedrig

CVE-2026-27139FileInfo can escape from a Root in os

Go standard library os Veröffentlicht: (vor 8 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-363CWE-22

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Go standard library os < 1.25.8, 1.26.0-0 – < 1.26.1
golang go < 1.25.8

Referenzen und Patches

CPE-Treffer (NVD) (2)

  • cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* < 1.25.8
  • cpe:2.3:a:golang:go:1.26.0:*:*:*:*:*:*:*