> CVE-2026-34785 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-04-02 17:16
MODIFIED
2026-04-02 17:16
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
0.52%
Top 56.8%
DATA SOURCES:
NVD 🔗 2026-04-02 RED HAT 🔗 2026-04-05 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-10-28

> DESCRIPTION

Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Static determines whether a request should be served as a static file using a simple string prefix check. When configured with URL prefixes such as "/css", it matches any request path that begins with that string, including unrelated paths such as "/css-config.env" or "/css-backup.sql". As a result, files under the static root whose names merely share the configured prefix may be served unintentionally, leading to information disclosure. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EXPLOITABILITY
3.9
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-187 CWE-200

> CWE DETAILED DESCRIPTIONS

CWE-187: Partial String Comparison - The product performs a string comparison that only examines a portion of the string before determining whether there is a match. | CWE-200: Exposure of Sensitive Information to an Unauthorized Actor - The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

> RED HAT SEVERITY ASSESSMENT

THREAT SEVERITY
Important

> GITHUB SECURITY ADVISORY

GHSA-h2jq-g4cq-5ppq HIGH

Rack::Static prefix matching can expose unintended files under the static root

AFFECTED PACKAGES:
RUBYGEMS / rack
>= 3.2.0, < 3.2.6
Fixed in: 3.2.6
RUBYGEMS / rack
>= 3.0.0.beta1, < 3.1.21
Fixed in: 3.1.21
RUBYGEMS / rack
< 2.2.23
Fixed in: 2.2.23

> HISTORIQUE DES MODIFICATIONS

Première apparition
02/04/2026 17:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-187: Partial String Comparison - The product performs a comparison that only examines a portion of a factor before determining whether there is a match, such as a substring, leading to resultant w...
Nouvelle valeur:
CWE-187: Partial String Comparison - The product performs a string comparison that only examines a portion of the string before determining whether there is a match. | CWE-200: Exposure of Sensitive I...
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-187: Partial String Comparison - The product performs a comparison that only examines a portion of a factor before determining whether there is a match, such as a substring, leading to resultant w...
📊 ENRICHISSEMENT 05/04/2026 05:02
REDHAT
Champ modifié: Sévérité Red Hat
Ancienne valeur:
N/A
Nouvelle valeur:
{ "threat_severity": "Important", "severity_scale": null }
📊 ENRICHISSEMENT 05/04/2026 05:02
REDHAT
Champ modifié: Red Hat
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 4 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/rack/rack/security/advisories/GHSA-h2jq-g4cq-5ppq
« BACK_TO_HOME