> CVE-2026-44836 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-05-26 21:16
MODIFIED
2026-05-26 21:16
CVSS_SCORE V3
6.5
EPSS (Prob. Exploit)
0.34%
Top 72.1%
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 preview route derives an example name from the URL and calls it with public_send. The code does not verify that the requested method is one of the preview examples explicitly defined by the preview class. As a result, inherited public methods on ViewComponent::Preview are route-reachable. The most important one is render_with_template, which accepts template: and locals:. Those values can come from request params and are later passed to Rails as render template:. If previews are exposed, an attacker can render internal Rails templates that are not otherwise routable. 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:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EXPLOITABILITY
2.8
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/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
Low (L)
Authentifié avec compte utilisateur basique
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-749

> CWE DETAILED DESCRIPTIONS

CWE-749: Exposed Dangerous Method or Function - The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

view_component: Preview Route Can Dispatch Inherited Helper Methods

AFFECTED PACKAGES:
Unknown / Unknown
45 versions affected
ALIASES:
GHSA-7f3r-gwc9-2995

> HISTORIQUE DES MODIFICATIONS

Première apparition
26/05/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-749: Exposed Dangerous Method or Function - The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a...
Total des modifications: 1 Dernière mise à jour: 5 months ago

> REFERENCES

https://github.com/ViewComponent/view_component/security/advisories/GHSA-7f3r-gw...
« BACK_TO_HOME