Security Resilience

CVE-2026-54497

Race Condition in Viewcomponent View Component 4.0.0 – 4.12.0

Public PoCRace Condition
Published
17 July 2026
Modified
24 October 2026
Patch / advisory
CVSS Score v3.1 6.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0033 19th percentile
Risk Priority 50 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-54497 is a medium-severity Race Condition (CWE-362) vulnerability in Viewcomponent View Component. Its CVSS base score is 6.8 (Medium).

Operationally, ranked at the 19th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-21636Same product: Viewcomponent View Component
CVE-2026-44837Same product: Viewcomponent View Component
CVE-2026-54498Same product: Viewcomponent View Component
CVE-2025-64168Shared CWE-362, CWE-668
CVE-2026-82416Shared CWE-362, CWE-488
CVE-2026-130179Shared CWE-362, CWE-668
CVE-2026-9831Shared CWE-362, CWE-488
CVE-2023-21536Shared CWE-362, CWE-668
CVE-2026-105609Shared CWE-362, CWE-488
CVE-2024-53476Shared CWE-362

Affected Assets

viewcomponent
view component
4.0.0 — 4.12.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Access enforcement directly stops resources from being reachable by actors outside the intended control sphere.

AC-4 controls information flows between entities, reducing cross-session leakage.

Least privilege reduces the set of actors that can reach a resource, limiting wrong-sphere exposure.

SC-4 directly stops unintended transfer of data through shared resources that different sessions may access.

Security attributes enable correct sphere assignment and subsequent enforcement decisions.

Maintaining separate execution domains for each process structurally eliminates unintended concurrent access to the same shared resources.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-05 partial match
blocks

Enforcing authorization policies and least privilege can prevent cross-session data exposure when session separation is treated as an access rule.

PR.DS-10 partial match
blocks

Protecting data-in-use directly addresses runtime leakage of session data to unauthorized contexts.

PR.IR-01 partial match
blocks

Logical access controls and segmentation can be applied to isolate session state within applications or environments.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect race conditions, but does not prevent them at design or coding time.

prevents

Secure coding standards explicitly forbid unsafe concurrent access patterns and mandate atomic operations or locks.

prevents

A.8.30 governs the contractual and oversight relationship with an outsourced developer, requiring secure coding practices to be specified and evidence to be provided, but it does not itself prevent a developer from introducing a session-data race condition in the code.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-362, a class-level weakness, and none of its children carries one either.
  • No fine-grained STIG row for CWE-668, a class-level weakness. Rules are authored against its narrower children: CWE-427, CWE-552.

References