# CVE-2026-77413: 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.52%, higher than 45% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-21T20:47:08.457Z
- Modified: 2026-10-12T16:10:00.220Z
- Also known as: GHSA-8gq3-vp5j-2grp
- 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.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.

(As written by CVE List.)

## Affected

- jsonata-js jsonata: < 2.2.0
- jsonata (npm): before 1.8.8; from 2.0.0 before 2.2.0

## 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-8gq3-vp5j-2grp> (exploit, web)
- <https://github.com/jsonata-js/jsonata/pull/794> (web)
- <https://github.com/jsonata-js/jsonata/commit/4b217d514376e30cba278941298d7ba97c4a6c6e> (web)
- <https://github.com/jsonata-js/jsonata/commit/4c5f4adfb90a9b500889d50f90050ca68888b50d> (web)
- <https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8> (web)
- <https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0> (web)
- <https://github.com/jsonata-js/jsonata> (package)

## Sources

- CVE List: [CVE-2026-77413](https://www.cve.org/CVERecord?id=CVE-2026-77413), CVE Terms of Use, modified 2026-08-24
- GitHub Advisory Database: [GHSA-8gq3-vp5j-2grp](https://github.com/advisories/GHSA-8gq3-vp5j-2grp), CC-BY-4.0, modified 2026-08-21
- NVD: [CVE-2026-77413](https://nvd.nist.gov/vuln/detail/CVE-2026-77413), Public domain, modified 2026-10-12

---

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