{"id":"CVE-2026-77414","summary":"JSONata: Arbitrary Code Execution via crafted JSONata expressions","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.","aliases":["GHSA-2943-5xfg-gq5f"],"modified":"2026-08-23T03:53:42.063296489Z","published":"2026-08-21T20:51:43.500Z","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"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jsonata-js/jsonata","events":[{"introduced":"0"},{"introduced":"99717d99a5417c2bb9248eb7e6bde531e3642b4c"},{"fixed":"18ce8933ae1403c8732a4ef09a6b9f801381164f"},{"fixed":"06fc08cacff16315edddec9632e98c8c7342785b"},{"fixed":"59e25144fc3b7125f6befd71b8a6e14e1fa610d2"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.8.8"},{"introduced":"2.0.0"},{"fixed":"2.2.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v1.8.7","v2.2.0","v2.1.1","v2.1.0","v2.0.6","v2.0.5","v1.8.6","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v1.8.5","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.0","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5","v1.4.1","v1.4","v1.3.3","v1.3.2","v1.3.1","v1.3","v1.2.6","v1.2.5","v1.2.4","v1.2.2","v1.2.1","v1.2","v1.1.1","v1.1","v1.0.10","v1.0.9","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77414.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","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"}]}