Insecure Inherited Permissions Affecting view_component package, versions >=3.0.0, <4.9.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-VIEWCOMPONENT-16624539
  • published10 May 2026
  • disclosed4 May 2026
  • creditcyberlanc3r

Introduced: 4 May 2026

NewCVE-2026-44836  (opens in a new tab)
CWE-277  (opens in a new tab)

How to fix?

Upgrade view_component to version 4.9.0 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Inherited Permissions when handling public methods on ViewComponent::Preview, which are treated as reachable even if the methods are not explicitly allowed, in render_with_template(). An attacker can render internal Rails templates, which may contain sensitive values.

CVSS Base Scores

version 4.0
version 3.1