CVE-2026-54497
Last modified
CVE-2026-54497 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Viewcomponent | View Component | >= 4.0.0, < 4.12.0 |
References
- https://github.com/ViewComponent/view_component/releases/tag/v4.12.0Product, Release Notes
- https://github.com/ViewComponent/view_component/security/advisories/GHSA-9h85-g7w3-rh49Exploit, Mitigation, Vendor Advisory
- https://github.com/ViewComponent/view_component/security/advisories/GHSA-9h85-g7w3-rh49Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-54497?
How severe is CVE-2026-54497?
How do I fix CVE-2026-54497?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54479The WebSocket backend uses charging station identifiers to u…7.3
- CVE-2026-5448X.509 date buffer overflow in wolfSSL_X509_notAfter / wolfSS…4.3
- CVE-2026-54483Dell PowerProtect Data Domain, versions 7.7.1.0 through 8.6,…6.7
- CVE-2026-54489Dell Virtual Storage Integrator for VMware vSphere Client, v…9.8
- CVE-2026-54490websocket-driver is a WebSocket protocol handler with plugga…6.3
- CVE-2026-54496ZEBRA is a Zcash node written entirely in Rust. Prior to zeb…9.3
- CVE-2026-54498view_component is a framework for building reusable, testabl…8.7
- CVE-2026-54499Stanza is a Stanford NLP Python library for tokenization, se…7.5
- CVE-2026-5450Calling the scanf family of functions with a %mc (malloc'd c…9.8
- CVE-2026-54500Oj (Optimized JSON) is a JSON parser and Object marshaller p…5.3
- CVE-2026-54502Oj (Optimized JSON) is a JSON parser and Object marshaller p…6.3
- CVE-2026-5451The Extensions for Leaflet Map plugin for WordPress is vulne…6.4
Are you affected by CVE-2026-54497?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
