CVE-2026-33286
Graphiti is a framework that sits on top of models and exposes them …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/graphiti-api/graphiti/security/advisories/GHSA-3m5v-4xp5-gjg2
- github.com/advisories/GHSA-3m5v-4xp5-gjg2
- github.com/graphiti-api/graphiti/commit/ddb5ad2b69330774bd1a47935ed89a9fe4396a54
- github.com/graphiti-api/graphiti/releases/tag/v1.10.2
- nvd.nist.gov/vuln/detail/CVE-2026-33286
- github.com/rubysec/ruby-advisory-db/blob/master/gems/graphiti/CVE-2026-33286.yml
- nvd.nist.gov/vuln/detail/CVE-2026-33286
- cve.org/CVERecord?id=CVE-2026-33286
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.