CVE-2026-44836ViewComponent view_component
Media 6.5
Seguir: esta CVE · ViewComponent · ViewComponent view_component Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 26 may 2026
- Actualizada
- 24 jul 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-749
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para view_component.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| RubyGems | view_component |
≥ 3.0.0 < 4.9.0 |
4.9.0 |
gem "view_component", ">= 4.9.0" |
Según OSV / GitHub Advisories (GHSA-7f3r-gwc9-2995). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- ViewComponent · view_component
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.