{
  "id": "CVE-2026-77414",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-77414",
  "published_at": "2026-08-21T20:51:43.5Z",
  "title": "JSONata: Arbitrary Code Execution via crafted JSONata expressions",
  "vendor": "jsonata-js",
  "product": "jsonata",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "JSONata is a JSON query and transformation language. Prior to 1.8.8 and 2.2.1, the src/jsonata.js environment.lookup function used a bypassable hasOwnProperty check. Crafted expressions could use $hasOwnProperty, $spread, $string, prototype access, and $constructor to reach the object prototype and invoke process.getBuiltinModule with child_process, executing arbitrary code with the privileges of the host process. This issue is fixed in versions 1.8.8 and 2.2.1.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "jsonata-js",
        "product": "jsonata",
        "ranges": [
          "\u003c 1.8.8",
          "\u003e= 2.0.0, \u003c 2.2.1"
        ],
        "fixed_in": [
          "1.8.8",
          "2.2.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade jsonata to 1.8.8 or 2.2.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/jsonata-js/jsonata/security/advisories/GHSA-2943-5xfg-gq5f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/jsonata-js/jsonata/pull/799"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/jsonata-js/jsonata/releases/tag/v2.2.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
