CVE Explorer
CVE-2026-54497
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 a
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-668","description":"CWE-668: Exposure of Resource to Wrong Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-488","description":"CWE-488: Exposure of Data Element to Wrong Session","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-362","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"view_component","vendor":"ViewComponent","versions":[{"status":"affected","version":">= 4.0.0, < 4.12.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-668","description":"CWE-668: Exposure of Resource to Wrong Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-488","description":"CWE-488: Exposure of Data Element to Wrong Session","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-362","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9d7d763a86275e5334731dd61","tags":["x_refsource_MISC"],"url":"https://github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9d7d763a86275e5334731dd61"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/references/1
{"name":"https://github.com/ViewComponent/view_component/releases/tag/v4.12.0","tags":["x_refsource_MISC"],"url":"https://github.com/ViewComponent/view_component/releases/tag/v4.12.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-9h85-g7w3-rh49"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/adp/0/references/0
{"name":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-9h85-g7w3-rh49","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-9h85-g7w3-rh49"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6d8ea1d321253cdfe3cb584bb80b82f25d8d4839386af48ca20d35675b73cc9c · sha256:98d6badffa3be6e1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.