> CVE-2026-54497 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-17 21:17
MODIFIED
2026-07-17 21:17
CVSS_SCORE V3
6.8
EPSS (Prob. Exploit)
0.33%
Top 75.1%
DATA SOURCES:
NVD 🔗 2026-07-17 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-05 OSV 🔗 2026-07-26

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EXPLOITABILITY
1.6
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-362 CWE-488 CWE-668

> CWE DETAILED DESCRIPTIONS

CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization - The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently. | CWE-488: Exposure of Data Element to Wrong Session - The product does not sufficiently enforce boundaries between the states of different sessions, causing data to be provided to, or used by, the wrong session. | CWE-668: Exposure of Resource to Wrong Sphere - The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

> GITHUB SECURITY ADVISORY

GHSA-9h85-g7w3-rh49 MODERATE

ViewComponent: Reused Component Instances Retain Stale Render Context

AFFECTED PACKAGES:
RUBYGEMS / view_component
>= 4.0.0, < 4.12.0
Fixed in: 4.12.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

view_component: Reused Component Instances Retain Stale Render Context

AFFECTED PACKAGES:
Unknown / Unknown
15 versions affected
ALIASES:
GHSA-9h85-g7w3-rh49

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/07/2026 21:17
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') - The product contains a concurrent code sequence that requires temporary, exclusive access to a sh...
Nouvelle valeur:
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization - The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but ...
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') - The product contains a concurrent code sequence that requires temporary, exclusive access to a sh...
Total des modifications: 2 Dernière mise à jour: 5 days ago

> REFERENCES

https://github.com/ViewComponent/view_component/commit/6796b2e89d0bd7b9d7d763a86...
https://github.com/ViewComponent/view_component/releases/tag/v4.12.0
https://github.com/ViewComponent/view_component/security/advisories/GHSA-9h85-g7...
« BACK_TO_HOME