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

CVE-2026-142593

Rack: `Rack::Directory` lists directories outside the root when `..` follows a symbolic link.

Publiée le 2 déc. 2026 · modifiée le 3 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 39/100

Résumé

Rack is a modular Ruby web server interface. From 2.2.0 until 2.2.26, 3.1.24, and 3.2.9, Rack::Directory#get checks a path containing dot-dot segments with File.expand_path but then passes the original unnormalized path to File.stat and Dir.foreach instead of first applying Utils.clean_path_info. Earlier Rack versions reject every path containing dot-dot and are not affected. When a directory beneath the served root is a symbolic link followed by .., the operating system resolves the link before applying the dot-dot segment, allowing an unauthenticated request to list the target's parent or siblings outside the root. The disclosure is limited to directory entry names, sizes, and modification times because Rack::Files normalizes paths before serving file contents. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.

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

Produits et versions affectés

Rack (1 ligne(s))
Rack
ProduitVersionsCorrigé dansSource
Rack Versions non précisées — CNA (éditeur ou attributeur)
Rubygems (3 ligne(s))
Rubygems
ProduitVersionsCorrigé dansSource
rack de 2.2.0 (inclus) à 2.2.26 (exclu) 2.2.26 GitHub Advisory
rack de 3.0.0 (inclus) à 3.1.24 (exclu) 3.1.24 GitHub Advisory
rack de 3.2.0 (inclus) à 3.2.9 (exclu) 3.2.9 GitHub Advisory

Correctif

Mise à jour — RubyGems/rack 2.2.26; RubyGems/rack 3.1.24; RubyGems/rack 3.2.9source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

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

Chronologie

  1. — Publication de la CVE (cve)

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:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1, CNA:security-advisories@github.com)
Faiblesse
CWE-22 · Traversée de chemin / fichiers

Comment sont obtenues et calculées ces données