216.73.217.24

CVE-2026-44836

· Published 26/05/2026 21:16 · Modified 27/05/2026 14:16

Labels: CVE-2026-44836 2026-05-26CVE-2026-44836CWE-749[email protected]

Essential information

Published
26/05/2026 21:16
Modified
27/05/2026 14:16
Author
Creator
CVSS
6.5 MEDIUM (v3.1)
CISA KEV
No
CWE
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CVSS metrics

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.

NVD status

Status
Received — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
ruby / view component cpe:2.3:a:ruby:view_component:3.0.0-4.9.0:*:*:*:*:*:*:*
ruby / view component cpe:2.3:a:ruby:view_component:<4.9.0:*:*:*:*:*:*:*

References