SCA: security update for view_component (GHSA-7f3r-gwc9-2995)

medium Tenable Self-Hosted Container Security Plugin ID 441576

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-44836)

Solution

Update the view_component library and its related packages to version 4.9.0 or later.

See Also

https://github.com/advisories/GHSA-7f3r-gwc9-2995

Plugin Details

Severity: Medium

ID: 441576

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 5/9/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.75

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:N/A:N

CVSS Score Source: CVE-2026-44836

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/8/2026

Vulnerability Publication Date: 5/8/2026

Reference Information

CVE: CVE-2026-44836

cwe: CWE-277