# CVE-2026-77415: 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.82%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-21T21:01:09.203Z
- Modified: 2026-10-12T16:10:00.220Z
- Also known as: GHSA-66mm-25pp-rfff
- 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, crafted JSONata expressions could chain several object-integrity weaknesses to execute arbitrary code. The chain could overwrite $clone to mutate objects through evaluateTransformExpression, expose and deconstruct JSONata functions or lambdas through $merge.*, replace proc.arguments.forEach used by applyProcedure, and forge internal lambda state. These primitives allowed an attacker to reach prototype getters, prototype and constructor access, and process.getBuiltinModule with child_process, executing 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-66mm-25pp-rfff> (exploit, web)
- <https://github.com/jsonata-js/jsonata/pull/799> (web)
- <https://github.com/jsonata-js/jsonata/pull/800> (web)
- <https://github.com/jsonata-js/jsonata/pull/802> (web)
- <https://github.com/jsonata-js/jsonata/commit/47c0e58542202c705726663166dbee5fcae47d06> (web)
- <https://github.com/jsonata-js/jsonata/commit/4b217d514376e30cba278941298d7ba97c4a6c6e> (web)
- <https://github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2> (web)
- <https://github.com/jsonata-js/jsonata/commit/f09df8416eab8ff44926fc6527c80fb8701de159> (web)
- <https://github.com/jsonata-js/jsonata/commit/f174348c7fa30f271b63ddedf0767e814004bc4d> (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> (package)

## Sources

- CVE List: [CVE-2026-77415](https://www.cve.org/CVERecord?id=CVE-2026-77415), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-66mm-25pp-rfff](https://github.com/advisories/GHSA-66mm-25pp-rfff), CC-BY-4.0, modified 2026-08-21
- NVD: [CVE-2026-77415](https://nvd.nist.gov/vuln/detail/CVE-2026-77415), Public domain, modified 2026-10-12

---

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