CVE Catalog

GHSA-8qw7-6phv-7q6p

Medium
Published: —Translated: NVD NIST

Summary

The vulnerability affects the ViewComponent component in Ruby and is related to the earlier CVE-2026-54497. The fix involved calling __vc_reset_render_state! in render_in to clear three instance variables (@__vc_controller, @__vc_helpers, @__vc_request) on every render, preventing a reused ViewComponent::Base instance from leaking the previous request's controller/helpers/request.

Risk Assessment

Reusing a component instance could leak the controller, helpers, or request object from a previous request, potentially exposing data between users. The description does not specify the full impact, but it concerns state isolation between requests.

Recommendation

Apply the fix that introduces render state reset (__vc_reset_render_state!) in the ViewComponent library version containing this change. Upgrade to a version where CVE-2026-54497 is fully addressed.

Related vulnerabilities

Original NVD description (English source)

## Summary CVE-2026-54497 was fixed by having render_in call __vc_reset_render_state!, which clears exactly three ivars (@__vc_controller, @__vc_helpers, @__vc_request) on every render so a reused ViewComponent::Base instance can't leak the previous request's controller/helpers/request. The fix's o

Vulnerability data from NVD (NIST) · CISA KEV · EPSS