CVE-2026-77415
Published:August 21, 2026
Updated:September 24, 2026
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 Packages
https://github.com/jsonata-js/jsonata.git (GITHUB):
Affected version(s) >=v2.0.0 <v2.2.1Fix Suggestion:
Update to version v2.2.1https://github.com/jsonata-js/jsonata.git (GITHUB):
Affected version(s) >=v1.0 <v1.8.8Fix Suggestion:
Update to version v1.8.8jsonata (NPM):
Affected version(s) >=2.0.0 <2.2.1Fix Suggestion:
Update to version 2.2.1jsonata (NPM):
Affected version(s) >=1.0.0 <1.8.8Fix Suggestion:
Update to version 1.8.8Related Resources (14)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.65