Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-54497

published medium CVSS 3.1 · 6.8

view_component: Reused Component Instances Retain Stale Render Context

Published
17 Jul 2026, 20:45:28 UTC
Updated
20 Jul 2026, 13:46:20 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ViewComponent — view_component>= 4.0.0, < 4.12.0 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.8 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ViewComponent view_component >= 4.0.0, < 4.12.0 (affected) GitHub_M · cna

Weaknesses

3
  • CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') (GitHub_M · cna)
  • CWE-488 CWE-488: Exposure of Data Element to Wrong Session (GitHub_M · cna)
  • CWE-668 CWE-668: Exposure of Resource to Wrong Sphere (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

view_component: Reused Component Instances Retain Stale Render Context

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
092dbac75b3a6116092eaa48d7bf81169194be44517ad59929d94b95d26aaabe
Ingested
23 Sep 2026, 09:20:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected