{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54497","published":"2026-07-17T21:17:08.907000Z","last_modified":"2026-10-24T20:10:00.137000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-362","CWE-488","CWE-668"],"cpes":[{"criteria":"cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:*","part":"a","vendor":"viewcomponent","product":"view_component","version_start_including":"4.0.0","version_end_excluding":"4.12.0"}],"cpes_truncated":false,"vendors":["viewcomponent"],"products":["viewcomponent/view_component"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-9h85-g7w3-rh49","ecosystem":"RubyGems","name":"view_component","purl":"pkg:gem/view_component","ranges":[{"introduced":"4.0.0","fixed":"4.12.0"}],"versions":["4.0.0","4.0.1","4.0.2","4.1.0","4.1.1","4.10.0","4.11.0","4.2.0","4.3.0","4.4.0","4.5.0","4.6.0","4.7.0","4.8.0","4.9.0"],"versions_truncated":false}],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2026-54497/","html_en":"/en/cve/CVE-2026-54497/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54497","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54497"},"untrusted":{"vendor_name":"Viewcomponent","product_name":"View Component","desc_en":"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.","affected":[{"untrusted_vendor":"ViewComponent","untrusted_product":"view_component","versions":[]}],"references":[{"url":"https://github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9d7d763a86275e5334731dd61","tags":["Patch"]},{"url":"https://github.com/ViewComponent/view_component/releases/tag/v4.12.0","tags":["Product","Release Notes"]},{"url":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-9h85-g7w3-rh49","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}