> CVE-2026-44837 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-05-26 21:16
MODIFIED
2026-05-26 21:16
CVSS_SCORE V3
5.9
EPSS (Prob. Exploit)
0.41%
Top 64.5%
DATA SOURCES:
NVD 🔗 2026-05-26 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 OSV 🔗 2026-11-02

> DESCRIPTION

view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. From 3.0.0 to 4.9.0, the system test entrypoint canonicalizes a user-controlled file path with File.realpath, then checks whether the resolved path starts with the temp directory path. This is not a safe containment check because sibling directories can share the same string prefix. This vulnerability is fixed in 4.9.0.

> 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:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EXPLOITABILITY
2.2
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/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
High (H)
Conditions spécifiques doivent être réunies 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 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.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

view_component: System Test Entry Point Path Check Allows Sibling Directory Escape

AFFECTED PACKAGES:
Unknown / Unknown
45 versions affected
ALIASES:
GHSA-hg3h-g7xc-f7vp

> HISTORIQUE DES MODIFICATIONS

Première apparition
26/05/2026 21: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.
📊 ENRICHISSEMENT 01/06/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...
Total des modifications: 2 Dernière mise à jour: 6 days ago

> REFERENCES

https://github.com/ViewComponent/view_component/security/advisories/GHSA-hg3h-g7...
« BACK_TO_HOME