CVE-2026-54497: view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rai
CVE-2026-54497 is a medium-severity flaw (CVSS 6.8) affecting view component. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. From 4.0.0 until 4.12.0, ViewComponent::Base instances retain render-scoped objects across calls to render_in; if the same component, collection, or spacer component instance is reused across requests, users, tenants, or threads, later renders can use stale helpers, controller, request, view_flow, format/variant details, and slot chil
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-10-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-54497?
view component: upgrade to 4.12.0. Exact commands for each OS are on this page.
Is CVE-2026-54497 being exploited?
CVE-2026-54497 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-54497 affect?
CVE-2026-54497 affects view component. Severity is medium (CVSS 6.8). view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. From 4.0.0 until 4.12.0, ViewComponent::Base instances retain render-scoped objects across calls to render_in; if the same com
How urgent is CVE-2026-54497?
Priority 35/100. Public exploit reference
Software pages
Ruby on Rails vulnerabilities · Ruby vulnerabilities
Related CVEs
- CVE-2026-54498 HIGH 8.7 UPGRADE view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rai