{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.8.8"
              },
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.2.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "99717d99a5417c2bb9248eb7e6bde531e3642b4c"
            },
            {
              "fixed": "18ce8933ae1403c8732a4ef09a6b9f801381164f"
            },
            {
              "fixed": "06fc08cacff16315edddec9632e98c8c7342785b"
            },
            {
              "fixed": "59e25144fc3b7125f6befd71b8a6e14e1fa610d2"
            }
          ],
          "repo": "https://github.com/jsonata-js/jsonata",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-2943-5xfg-gq5f"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77414.json"
  },
  "details": "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.",
  "id": "CVE-2026-77414",
  "modified": "2026-08-23T03:42:59.690879639Z",
  "published": "2026-08-21T20:51:43.500Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jsonata-js/jsonata/releases/tag/v2.2.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77414.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jsonata-js/jsonata/security/advisories/GHSA-2943-5xfg-gq5f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-77414"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/jsonata-js/jsonata/pull/799"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "JSONata: Arbitrary Code Execution via crafted JSONata expressions"
}