CVE-2026-44836
Medium · 6.5CVSS
6.5
EPSS
0.4%
Published
May 26, 2026
CISA due date
—
The record
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 packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-20293 A vulnerability in the Unified Extensible Firmware Interface (UEFI) Shell implementation… CWE-749
- CVE-2026-86711 electerm before 5.3.15 exposes 40+ main-process functions through an unvalidated Electron… CWE-749
- CVE-2026-52877 Streambert is a cross-platform Electron Desktop App to stream and download video content. CWE-749
- CVE-2026-48056 Streambert is a cross-platform Electron Desktop App to stream and download video content. CWE-749
- CVE-2026-20467 In apusys, there is a possible escalation of privilege due to a missing bounds check. CWE-749
- CVE-2026-45489 Microsoft Edge (Chromium-based) Spoofing Vulnerability CWE-749
- CVE-2026-14620 webpack-dev-server versions 5.2.5 and earlier expose two internal developer endpoints… CWE-749
- CVE-2026-54753 Nx is a monorepo solution for TypeScript and polyglot codebases. CWE-749