CVE-2026-77415
JSONata: Arbitrary Code Execution via crafted JSONata expressions
Also known as GHSA-66mm-25pp-rfff
Mitigation
- Upgrade jsonata to one of 2.2.1, 1.8.8 (or later in the same release line).
Who should check
- Projects that depend on npm package jsonata (>= 2.0.0, < 2.2.1)
- Anyone running jsonata-js jsonata < 1.8.8; >= 2.0.0, < 2.2.1
Vulnerability facts
- Affected
- jsonata >= 2.0.0, < 2.2.1
- Fixed in
- 2.2.1, 1.8.8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.89% chance of exploitation in 30 days (percentile 57, 2026-11-26)
- CWE
- CWE-94
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm jsonata | >= 2.0.0, < 2.2.1 | 2.2.1, 1.8.8 | osv |
| jsonata-js jsonata | < 1.8.8; >= 2.0.0, < 2.2.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-77415. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-77415.md Affected: jsonata >= 2.0.0, < 2.2.1 Fixed in: 2.2.1, 1.8.8 Steps: 1. Search this machine and project for jsonata (npm), jsonata-js jsonata: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://github.com/jsonata-js/jsonata/pull/799
- https://github.com/jsonata-js/jsonata/pull/800
- https://github.com/jsonata-js/jsonata/pull/802
- https://github.com/jsonata-js/jsonata/commit/47c0e58542202c705726663166dbee5fcae47d06
- https://github.com/jsonata-js/jsonata/commit/4b217d514376e30cba278941298d7ba97c4a6c6e
- https://github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2
- https://github.com/jsonata-js/jsonata/commit/f09df8416eab8ff44926fc6527c80fb8701de159
- https://github.com/jsonata-js/jsonata/commit/f174348c7fa30f271b63ddedf0767e814004bc4d
FAQ
Is CVE-2026-77415 being exploited?
There is no confirmed exploitation: CVE-2026-77415 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-77415?
Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-77415?
jsonata >= 2.0.0, < 2.2.1.
Is there a fix for CVE-2026-77415?
Yes. Fixed in 2.2.1, 1.8.8. Upgrade jsonata to one of 2.2.1, 1.8.8 (or later in the same release line).
How do I check if I'm affected by CVE-2026-77415?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.