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 child context from an earlier render. This can cause authorization-aware components to render privileged UI for a lower-privileged user, generate links using a stale Host header, leak slot/helper state, and mix request context under concurrent rendering. This issue is fixed in version 4.12.0.
CVE-2026-54497
This medium-severity CVE scores 6.8 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.3%, top 77% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.8
- EG Score
- 6.8(medium)
- EPSS
- 23.5%
- KEV
- Not listed
Published
July 15, 2026
Last Modified
July 20, 2026
Advisory Details (3)
Auto-updated Jul 17, 2026Reused Component Instances Retain Stale Render Context · Advisory · ViewComponent/view_component · GitHub
https://github.com/ViewComponent/view_component/security/advisories/GHSA-9h85-g7w3-rh494.12.0
Patch available: ViewComponent/view_component v4.12.0
https://github.com/ViewComponent/view_component/releases/tag/v4.12.0commit 6796b2e89d0b (ViewComponent/view_component)
Patch available: ViewComponent/view_component v4.12.0 (contains commit 6796b2e89d0b)
https://github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9d7d763a86275e5334731dd61Vendor Advisories for CVE-2026-54497(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| view_component | 4.0.0 ... 4.9.0 (15 versions) | 4.12.0 | — |
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 8× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:36 UTCEG score recompute
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-15 22:54 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-54497?
When was CVE-2026-54497 disclosed?
Is CVE-2026-54497 actively exploited?
What is the CVSS score of CVE-2026-54497?
How do I remediate CVE-2026-54497?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-54497
Is Your Infrastructure Affected by CVE-2026-54497?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.