CVE-2026-77415: JSONata Arbitrary Code Execution via Crafted Expressions
CVE-2026-77415 is an arbitrary code execution vulnerability in the JSONata JavaScript JSON query and transformation language. Versions before 1.8.8 on the 1.x branch and versions 2.0.0 through before 2.2.1 on the 2.x branch permit crafted expressions to chain object-integrity weaknesses. The chain enables mutation of internal objects, exposure and deconstruction of JSONata functions or lambdas, replacement of an internal array-iteration callback, and forgery of internal lambda state. These primitives can reach JavaScript prototype getters and constructor access, then access Node.js built-in modules and process-spawning functionality. The underlying weaknesses include prototype-bearing internal object creation, property shadowing through instance method invocation, traversal into function objects, and insufficient validation of internal lambda identifiers.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can execute arbitrary operating-system commands or JavaScript code with the privileges of the host process running the vulnerable JSONata evaluation. This can result in complete compromise of the application context, including access to process-accessible secrets and data, modification or destruction of application data, service disruption, and potential follow-on compromise of connected systems.
Mitigation
If you can’t patch tonight, do this now.
Do not compile or evaluate untrusted JSONata expressions until a fixed release is deployed. Where untrusted expressions must be supported, restrict who can submit or modify expressions, isolate evaluation in a minimally privileged process or sandbox, and apply strict execution time, stack-depth, and sequence or allocation limits. These controls reduce exposure and resource-abuse risk but are not a substitute for upgrading.
Remediation
Patch, then assume compromise.
Upgrade JSONata to version 1.8.8 or later on the 1.x branch, or version 2.2.1 or later on the 2.x branch. The fixed releases use null-prototype internal objects, safe prototype-dispatched property and array operations, prevent wildcard traversal into function objects, and reject expressions that attempt to define reserved internal lambda identifiers.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-77415 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-77415 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-77415?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-77415.
- Is there a patch for CVE-2026-77415?
- Upgrade JSONata to version 1.8.8 or later on the 1.x branch, or version 2.2.1 or later on the 2.x branch. The fixed releases use null-prototype internal objects, safe prototype-dispatched property and array operations, prevent wildcard traversal into function objects, and reject expressions that attempt to define reserved internal lambda identifiers.
- How severe is CVE-2026-77415?
- CVE-2026-77415 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 0.89% (57th percentile) as of Sep 25, 2026.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.