{"id":"CVE-2026-77413","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.0, the src/functions.js lookup function lacked an Object.prototype.hasOwnProperty check and allowed crafted expressions to access inherited prototype members. An…","severity":"critical","cwe":["CWE-94"],"vendor":"jsonata","product":"jsonata","affected":["jsonata <= 1.8.7","jsonata >= 2.0.0, < 2.2.0"],"patched":["jsonata 1.8.8","jsonata 2.2.0"],"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-77413","references":[{"url":"https://github.com/jsonata-js/jsonata/commit/4b217d514376e30cba278941298d7ba97c4a6c6e","label":"security-advisories@github.com"},{"url":"https://github.com/jsonata-js/jsonata/commit/4c5f4adfb90a9b500889d50f90050ca68888b50d","label":"security-advisories@github.com"},{"url":"https://github.com/jsonata-js/jsonata/pull/794","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.0","label":"security-advisories@github.com"},{"url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-8gq3-vp5j-2grp","label":"security-advisories@github.com"},{"url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-8gq3-vp5j-2grp","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://github.com/advisories/GHSA-8gq3-vp5j-2grp"}],"tags":["nvd","ghsa","npm"],"epss":0.00519,"epssPercentile":0.43138,"aliases":["GHSA-8gq3-vp5j-2grp"],"ecosystem":"npm","ingestedAt":"2026-08-21T21:22:19.432Z","slug":"CVE-2026-77413","body":"## Overview\n\nJSONata is a JSON query and transformation language. Prior to 1.8.8 and 2.2.0, the src/functions.js lookup function lacked an Object.prototype.hasOwnProperty check and allowed crafted expressions to access inherited prototype members. An attacker able to supply an expression could use inherited prototype setters and getters, constructor access, valueOf, and process.getBuiltinModule to reach the child_process module and execute arbitrary code with the privileges of the host process. This issue is fixed in versions 1.8.8 and 2.2.0.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-77413)\n\nAffected packages:\n\n- `jsonata <= 1.8.7`\n- `jsonata >= 2.0.0, < 2.2.0`\n\nPatched in:\n\n- `jsonata 1.8.8`\n- `jsonata 2.2.0`\n\nSource: https://github.com/advisories/GHSA-8gq3-vp5j-2grp","depth":"midnight","depthScore":52,"depthScoreParts":{"impact":52.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}