> CVE-2026-34786 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-04-02 17:16
MODIFIED
2026-04-02 17:16
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
0.33%
Top 75.6%
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#applicable_rules evaluates several header_rules types against the raw URL-encoded PATH_INFO, while the underlying file-serving path is decoded before the file is served. As a result, a request for a URL-encoded variant of a static path can serve the same file without the headers that header_rules were intended to apply. In deployments that rely on Rack::Static to attach security-relevant response headers to static content, this can allow an attacker to bypass those headers by requesting an encoded form of the path. 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:N/I:L/A:N
EXPLOITABILITY
3.9
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-180

> CWE DETAILED DESCRIPTIONS

CWE-180: Incorrect Behavior Order: Validate Before Canonicalize - The product validates input before it is canonicalized.

> RED HAT SEVERITY ASSESSMENT

THREAT SEVERITY
Moderate

> GITHUB SECURITY ADVISORY

GHSA-q4qf-9j86-f5mh MODERATE

Rack:: Static header_rules bypass via URL-encoded paths

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-180: Incorrect Behavior Order: Validate Before Canonicalize - The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the ...
Nouvelle valeur:
CWE-180: Incorrect Behavior Order: Validate Before Canonicalize - The product validates input before it is canonicalized.
📊 ENRICHISSEMENT 01/05/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-180: Incorrect Behavior Order: Validate Before Canonicalize - The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the ...
📊 ENRICHISSEMENT 05/04/2026 05:02
REDHAT
Champ modifié: Sévérité Red Hat
Ancienne valeur:
N/A
Nouvelle valeur:
{ "threat_severity": "Moderate", "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-q4qf-9j86-f5mh
« BACK_TO_HOME