Loading advisory.
Loading advisory.
Graphiti Affected by Arbitrary Method Execution via Unvalidated Relationship Names
An arbitrary method execution vulnerability has been found which 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.
Published 2026-03-20 15:58 UTC · Modified 2026-03-25 21:48 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| graphiti | RubyGems | < 1.10.2 versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.alpha.1, 1.0.alpha.10, 1.0.alpha.11, 1.0.alpha.12, 1.0.alpha.14, 1.0.alpha.15, 1.0.alpha.16, 1.0.alpha.17, 1.0.alpha.18, 1.0.alpha.19, 1.0.alpha.20, 1.0.alpha.21, 1.0.alpha.22, 1.0.alpha.23, 1.0.alpha.24, 1.0.alpha.25 and 135 more | 1.10.2 | gem install graphiti -v 1.10.2 |
An arbitrary method execution vulnerability has been found which 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.
If upgrading to v1.10.2 is not immediately possible, consider one or more of the following mitigations:
Restrict write access: Ensure Graphiti write endpoints (create/update/delete) are not accessible to untrusted users.
Authentication & authorisation: Apply strong authentication and authorisation checks before any write operation is processed, for example use Rails strong parameters to ensure only valid parameters are processed.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.007 on 2026-11-24 to 0.010 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.007 | first score | v2026.06.15 |
| 2026-11-26 | 0.010 | 0.007 | v2026.06.15 |