# CVE-2026-77414: JSONata: Arbitrary Code Execution via crafted JSONata expressions

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-21T20:51:43.500Z
- Modified: 2026-10-12T16:10:00.220Z
- Also known as: GHSA-2943-5xfg-gq5f
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jsonata-js jsonata: < 1.8.8; >= 2.0.0, < 2.2.1
- jsonata (npm): from 2.0.0 before 2.2.1; before 1.8.8

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://github.com/jsonata-js/jsonata/security/advisories/GHSA-2943-5xfg-gq5f> (exploit, web)
- <https://github.com/jsonata-js/jsonata/pull/799> (web)
- <https://github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2> (web)
- <https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8> (web)
- <https://github.com/jsonata-js/jsonata/releases/tag/v2.2.1> (web)
- <https://github.com/jsonata-js/jsonata/commit/c41ef185136a7b96ca1049c7745a7503b82193de> (web)
- <https://github.com/jsonata-js/jsonata/commit/f09df8416eab8ff44926fc6527c80fb8701de159> (web)
- <https://github.com/jsonata-js/jsonata> (package)

## Sources

- CVE List: [CVE-2026-77414](https://www.cve.org/CVERecord?id=CVE-2026-77414), CVE Terms of Use, modified 2026-08-26
- GitHub Advisory Database: [GHSA-2943-5xfg-gq5f](https://github.com/advisories/GHSA-2943-5xfg-gq5f), CC-BY-4.0, modified 2026-08-21
- NVD: [CVE-2026-77414](https://nvd.nist.gov/vuln/detail/CVE-2026-77414), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2026-77414 · Whole record: https://cve.day/CVE-2026-77414.json · Rebuilt by cve.day 2026-11-25T22:59:34.840Z
