Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 84%

CVE-2026-54497: CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') in ViewComponent view_component

0
Medium
Published: 07/17/2026 (07/17/2026, 20:45:28 UTC)
Source: GCVE Database
Vendor/Project: ViewComponent
Product: view_component

Description

A race condition vulnerability exists in the view_component Ruby on Rails framework versions 4.0.0 up to but not including 4.12.0. The issue arises because ViewComponent::Base instances retain render-scoped objects across calls to render_in, causing stale context to be reused across requests or threads. This can lead to unauthorized UI rendering, leaking of request context, and mixing of state between users. The vulnerability is fixed in version 4.12.0.

CVSS v3.1

Score 6.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected software

RubyGemsghsa
view_component
Affected versions
>=4.0.0 <4.12.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 21:01:09 UTC

Technical Analysis

The view_component framework for Ruby on Rails versions >=4.0.0 and <4.12.0 suffers from a concurrency issue where render-scoped objects are improperly retained across multiple render_in calls. This improper synchronization leads to stale helpers, controller, request, view_flow, format/variant details, and slot child context being reused across requests, users, tenants, or threads. As a result, authorization-aware components may render privileged UI to lower-privileged users, generate links with stale Host headers, leak slot/helper state, and mix request contexts during concurrent rendering. The vulnerability is classified under CWE-362 (Race Condition) and related CWEs. It has a CVSS 3.1 score of 6.8 (medium severity). The issue is resolved in version 4.12.0.

Potential Impact

Exploiting this vulnerability can cause authorization bypass in UI rendering, leading to privileged information being shown to unauthorized users. It can also cause leakage of request-specific context and stale data usage, potentially exposing sensitive information or causing incorrect application behavior under concurrent requests. There is no indication of availability impact. No known exploits in the wild have been reported.

Mitigation Recommendations

Upgrade to view_component version 4.12.0 or later, where this race condition vulnerability is fixed. No other mitigations are indicated or recommended by the vendor. Patch status is confirmed fixed in 4.12.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-9h85-g7w3-rh49
Osv Schema Version
1.4.0
Aliases
["CVE-2026-54497"]
Ecosystems
["RubyGems"]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a58b40468715ace43d67069

Added to database: 07/16/2026, 10:35:48 UTC

Last enriched: 07/23/2026, 21:01:09 UTC

Last updated: 09/01/2026, 10:52:09 UTC

Views: 150

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses