kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-44836 view_component: Preview Route Can Dispatch Inherited Helper Methods

설명

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.

영향 받는 제품 제품 1개

  • ViewComponent

    view_component

    해결 버전 있음

    영향 받는 버전

    • 3.0.0 이상 4.9.0 미만

    해결 버전

    • 4.9.0 이상

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의