1. Accueil
  2. Vulnérabilités
  3. CVE-2026-27139

CVE-2026-27139

FileInfo can escape from a Root in os

Publiée le 6 mars 2026 · modifiée le 23 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 13/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Go standard library (2 ligne(s))
Go standard library
ProduitVersionsCorrigé dansSource
os avant 1.25.8 (exclu) — CNA (éditeur ou attributeur)
os de 1.26.0-0 (inclus) à 1.26.1 (exclu) — CNA (éditeur ou attributeur)
Go (2 ligne(s))
Go
ProduitVersionsCorrigé dansSource
stdlib avant 1.25.8 (exclu) 1.25.8 OSV
stdlib de 1.26.0-0 (inclus) à 1.26.1 (exclu) 1.26.1 OSV
Golang (2 ligne(s))
Golang
ProduitVersionsCorrigé dansSource
Go avant 1.25.8 (exclu) — NVD
Go 1.26.0 — NVD

Correctif

Mise à jour — Go/stdlib 1.25.8; Go/stdlib 1.26.1source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1281)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1486)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)
Faiblesse
CWE-22 · Traversée de chemin / fichiers

Comment sont obtenues et calculées ces données