2.5Baja

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

Go standard library os Publicada: (hace 8 meses)

Descripción

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.

Debilidad (CWE): CWE-363CWE-22

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

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

Referencias y parches

Coincidencias CPE (NVD) (2)

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