Skip to content
Heist/ feed
Back to feed
Critical

Graphiti Affected by Arbitrary Method Execution via Unvalidated Relationship Names

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-33286
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 09:01 UTC · Revision 1

Source evidence

Graphiti Affected by Arbitrary Method Execution via Unvalidated Relationship Names

core-osv · Original source

Published 23 Mar 2026, 23:52 UTC

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.

osv:CVE-2026-33286
Complete source record
{
  "id": "8192932043f0ef2c5e3eaae7d50583b06abab5c0acb5280842ca5e33e38367f2",
  "url": "https://osv.dev/vulnerability/CVE-2026-33286",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Graphiti Affected by Arbitrary Method Execution via Unvalidated Relationship Names",
    "summary": "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.",
    "evidence": "osv:CVE-2026-33286",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-33286",
      "aliases": [
        "CVE-2026-33286",
        "GHSA-3m5v-4xp5-gjg2"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/graphiti-api/graphiti",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5081ecef66ea4de49fd3456387dd0be0e621229b"
                },
                {
                  "fixed": "ddb5ad2b69330774bd1a47935ed89a9fe4396a54"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:graphiti:graphiti:*:*:*:*:*:ruby:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.10.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ddb5ad2b69330774bd1a47935ed89a9fe4396a54"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5081ecef66ea4de49fd3456387dd0be0e621229b"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.10.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.10.1",
            "v1.10.0",
            "v1.9.0",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.9",
            "v1.7.8",
            "v1.7.7",
            "v1.7.6",
            "v1.7.5",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.4",
            "v1.6.3",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.3.9",
            "v1.3.6",
            "v1.2.44",
            "v1.2.43",
            "1.2.42",
            "v1.2.41",
            "v1.2.40",
            "v1.2.39",
            "v1.2.38",
            "v1.2.35",
            "v1.2.34",
            "v1.2.25",
            "v1.2.24",
            "v1.2.23",
            "v1.2.22",
            "v1.2.21",
            "v1.2.20",
            "v1.2.19",
            "v1.2.17",
            "v1.2.18",
            "v1.2.16",
            "v1.2.15",
            "v1.2.14",
            "v1.2.13",
            "v1.2.12",
            "v1.2.10",
            "v1.2.9",
            "v1.2.6",
            "v1.2.5",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.0",
            "v1.1.0",
            "1.1.0",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "1.0.0",
            "1.0.rc.28",
            "v1.0.rc.27",
            "v1.0.rc.26",
            "1.0.rc.25",
            "1.0.rc.21",
            "1.0.rc.20",
            "1.0.rc.2",
            "1.0.alpha.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33286.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:47.028900072Z",
      "provider": "osv",
      "references": [
        "https://github.com/graphiti-api/graphiti/releases/tag/v1.10.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33286.json",
        "https://github.com/graphiti-api/graphiti/security/advisories/GHSA-3m5v-4xp5-gjg2",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-33286",
        "https://github.com/graphiti-api/graphiti/commit/ddb5ad2b69330774bd1a47935ed89a9fe4396a54"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-913"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33286.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-33286",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 515039,
  "published_at": "2026-03-23T23:52:30.381+00:00"
}