6.5

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

Deferred
AliasesUBUNTU-CVE-2026-44836DEBIAN-CVE-2026-44836CGA-2j7w-c5gg-xj3q
Published 26-05-2026Last modified 27-05-2026

Vulnerability summary

CVE-2026-44836 is a medium (CVSS 6.5) Exposed Dangerous Method or Function vulnerability in viewcomponent view_component. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 29.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.34%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 26-05-2026
    PublishedVulnerability first disclosed.
  2. 27-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.34%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.34% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard30 products
  • commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-19.2All versions (No fix recorded)
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
  • commercial-gitlab-rails-ee-fips-19.2All versions (No fix recorded)
  • gitlab-rails-ce-18.1All versions (No fix recorded)
Debian1 product
  • ruby-view-componentAll versions (No fix recorded) | < 4.12.0-1
RubyGems1 product
  • view_component≥ 3.0.0, < 4.9.0
Ubuntu1 product
  • ruby-view-componentAll versions (No fix recorded)
Viewcomponent1 product

5 vendors · 34 products

References

8 links