{"id":"CVE-2026-77414","title":"JSONata is a JSON query and transformation language","summary":"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, protot…","severity":"critical","cwe":["CWE-94"],"vendor":"jsonata","product":"jsonata","affected":["jsonata >= 2.0.0, < 2.2.1","jsonata < 1.8.8"],"patched":["jsonata 2.2.1","jsonata 1.8.8"],"published":"2026-08-21","updated":"2026-09-09","sourceUpdated":"2026-09-09T21:06:39.057","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-77414","references":[{"url":"https://github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2","label":"security-advisories@github.com"},{"url":"https://github.com/jsonata-js/jsonata/pull/799","label":"security-advisories@github.com"},{"url":"https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8","label":"security-advisories@github.com"},{"url":"https://github.com/jsonata-js/jsonata/releases/tag/v2.2.1","label":"security-advisories@github.com"},{"url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-2943-5xfg-gq5f","label":"security-advisories@github.com"},{"url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-2943-5xfg-gq5f","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://github.com/jsonata-js/jsonata/commit/c41ef185136a7b96ca1049c7745a7503b82193de"},{"url":"https://github.com/jsonata-js/jsonata/commit/f09df8416eab8ff44926fc6527c80fb8701de159"},{"url":"https://github.com/advisories/GHSA-2943-5xfg-gq5f"}],"tags":["nvd","ghsa","npm"],"epss":0.00432,"epssPercentile":0.36961,"aliases":["GHSA-2943-5xfg-gq5f"],"ecosystem":"npm","ingestedAt":"2026-08-21T21:22:19.317Z","slug":"CVE-2026-77414","body":"## Overview\n\nJSONata 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-77414)\n\nAffected packages:\n\n- `jsonata >= 2.0.0, < 2.2.1`\n- `jsonata < 1.8.8`\n\nPatched in:\n\n- `jsonata 2.2.1`\n- `jsonata 1.8.8`\n\nSource: https://github.com/advisories/GHSA-2943-5xfg-gq5f","depth":"midnight","depthScore":52,"depthScoreParts":{"impact":52.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}