# CVE-2026-44836: view\_component: Preview Route Can Dispatch Inherited Helper Methods

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-26 · Modified: 2026-05-27
- Aliases: UBUNTU-CVE-2026-44836, DEBIAN-CVE-2026-44836, CGA-2j7w-c5gg-xj3q, CGA-489p-474m-m6p5, CGA-4g9c-w43p-8gqq, CGA-4pmh-gq76-23c9, CGA-4qmx-pc92-9xr4, CGA-4qr3-7w4c-4rv9, CGA-5636-x2vm-6g67, CGA-5857-5gpv-c7pf, CGA-59qq-xfm3-q2w9, CGA-5gcg-5xg2-hv2h, CGA-5pp5-9492-qf8x, CGA-5vc2-w7qp-9g3f, CGA-64cf-vgx6-qjpq, CGA-6ff6-xvw6-r4fw, CGA-7c8x-p6c9-9727, CGA-7jm5-mmqc-ph93, CGA-7mgq-44gc-9763, CGA-8hv5-w6j5-8p22, CGA-9jr8-p2v6-crjq, CGA-c7rx-chph-322g, CGA-c8hq-4c32-57m3, CGA-cwqf-45c2-5v5p, CGA-f2w8-cr82-536x, CGA-fg5q-6wc8-335m, CGA-fg65-vjjj-rxgw, CGA-fpmc-975q-hv3h, CGA-fppx-99pc-63jh, CGA-g47c-ff59-pmc3, CGA-g5f2-w8p6-g446, CGA-g8rf-3gxh-gvh3, CGA-h9vh-942w-3729, CGA-j2w2-v9vv-q5jj, CGA-jc9h-66v6-mvj4, CGA-jchm-6wvw-4f3x, CGA-mq7c-g5gc-9gv8, CGA-mv6r-9jg8-r438, CGA-p55v-8px3-cph9, GHSA-7f3r-gwc9-2995, CGA-q776-f6h9-qrg2, CGA-q7gg-m288-22px, CGA-q8v3-hr39-3ggf, CGA-q92p-96j8-25w5, CGA-qfrp-5x3q-4xcr, CGA-qpfp-9wxj-vrw6, CGA-rm8v-rf57-g26c, CGA-v2wh-jf6q-cw76, CGA-v7rf-fw2f-x3gg, CGA-vp5j-qhp8-2cq9, CGA-vw2g-3m9p-vjpf, CGA-vwfm-prr5-jqm5, CGA-w235-8rq2-ph8p, CGA-w2m6-hhrr-chmp, CGA-wf38-vgr4-xcc7, CGA-x229-hv69-rxcm, CGA-x559-m742-39pp, CGA-x786-3g68-2j98, CGA-x98q-8vvv-5vcf, CGA-xf2q-q393-6hhr, CGA-xv88-p8q7-v4c5, CGA-xxjp-c489-x6jx
- Record: https://cvemate.com/vulnerability/CVE-2026-44836 · JSON: https://cvemate.com/vulnerability/CVE-2026-44836/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.343%, percentile 29.843%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 34)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): \< 18.11.2-r1
- chainguard gitlab-rails-ce-18.3 (Chainguard): \< 18.3.6-r6
- chainguard gitlab-rails-ce-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): \< 18.5.5-r3
- chainguard gitlab-rails-ce-18.6 (Chainguard): \< 18.6.6-r4
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/ViewComponent/view_component/security/advisories/GHSA-7f3r-gwc9-2995>
- <https://ubuntu.com/security/CVE-2026-44836>
- <https://www.cve.org/CVERecord?id=CVE-2026-44836>
- <https://security-tracker.debian.org/tracker/CVE-2026-44836>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44836.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44836>
- <https://github.com/ViewComponent/view_component>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/view_component/CVE-2026-44836.yml>

---

Data as of 2026-12-05T10:17:44.881Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
