1. Archivio CVE
  2. 2026
  3. CVE-2026-33286

CVE-2026-33286

9.1 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H 9.1 – Critica

Descrizione

Graphiti is a framework that sits on top of models and exposes them via a JSON:API-compliant interface. Versions prior to 1.10.2 have an arbitrary method execution vulnerability that affects Graphiti's JSONAPI write functionality. An attacker can craft a malicious JSONAPI payload with arbitrary relationship names to invoke any public method on the underlying model instance, class or its associations. Any application exposing Graphiti write endpoints (create/update/delete) to untrusted users is affected. The `Graphiti::Util::ValidationResponse#all_valid?` method recursively calls `model.send(name)` using relationship names taken directly from user-supplied JSONAPI payloads, without validating them against the resource's configured sideloads. This allows an attacker to potentially run any public method on a given model instance, on the instance class or associated instances or classes, including destructive operations. This is patched in Graphiti v1.10.2. Users should upgrade as soon as possible. Some workarounds are available. Ensure Graphiti write endpoints (create/update) are not accessible to untrusted users and/or apply strong authentication and authorization checks before any write operation is processed, for example use Rails strong parameters to ensure only valid parameters are processed.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
graphiti graphiti < 1.10.2 ruby

Tipo di vulnerabilità

CWE-913 Improper Control of Dynamically-Managed Code Resources

The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.

Impatto sui sistemi

AmbitoImpatto
Integrità Eseguire codice o comandi non autorizzati
Altro, Integrità Dipende dal contesto, Alterare la logica di esecuzione

Come si previene

Sviluppo · Validazione dell’input For any externally-influenced input, check the input against an allowlist of acceptable values.
Sviluppo · Architettura e progettazione · Refactoring Refactor the code so that it does not need to be dynamically managed.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 101 CVE di tipo CWE-913, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org