# CVE-2026-33286: Graphiti Affected by Arbitrary Method Execution via Unvalidated Relationship Names

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-03-20T15:58:14.000Z
- Modified: 2026-06-17T10:37:15.180Z
- Also known as: GHSA-3m5v-4xp5-gjg2
- Weaknesses: CWE-913
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- graphiti-api graphiti: < 1.10.2
- graphiti (RubyGems): before 1.10.2
- graphiti graphiti: before 1.10.2

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/graphiti-api/graphiti/security/advisories/GHSA-3m5v-4xp5-gjg2> (mitigation, vendor-advisory, web)
- <https://github.com/graphiti-api/graphiti/commit/ddb5ad2b69330774bd1a47935ed89a9fe4396a54> (patch, web)
- <https://github.com/graphiti-api/graphiti/releases/tag/v1.10.2> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33286> (advisory)
- <https://github.com/graphiti-api/graphiti> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/graphiti/CVE-2026-33286.yml> (web)

## Sources

- CVE List: [CVE-2026-33286](https://www.cve.org/CVERecord?id=CVE-2026-33286), CVE Terms of Use, modified 2026-03-24
- GitHub Advisory Database: [GHSA-3m5v-4xp5-gjg2](https://github.com/advisories/GHSA-3m5v-4xp5-gjg2), CC-BY-4.0, modified 2026-03-25
- NVD: [CVE-2026-33286](https://nvd.nist.gov/vuln/detail/CVE-2026-33286), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-33286 · Whole record: https://cve.day/CVE-2026-33286.json · Rebuilt by cve.day 2026-11-25T22:59:16.517Z
