Critical JSONata RCE Flaws Let Crafted Expressions Escape Sandboxes
Vulnerability Disclosure · 12 sources · Updated 3mo ago · First seen Aug 21, 2026

Multiple critical vulnerabilities in JSONata allow attackers to achieve arbitrary code execution in server-side Node.js applications that evaluate untrusted JSONata expressions. The issues, tracked as CVE-2026-77413, CVE-2026-77414, and CVE-2026-77415, stem from prototype pollution, unsafe property lookups, and object-integrity weaknesses that let crafted expressions reach inherited prototype members, manipulate internal function and lambda state, and ultimately invoke process.getBuiltinModule and child_process. The flaws are remotely exploitable without authentication or user interaction and can expose environment variables, configuration files, and database credentials while enabling persistence and lateral movement.
Project maintainers shipped a series of hardening changes across the 1.x and 2.x branches, including blocking $lookup access to prototype members, replacing vulnerable objects with Object.create(null), using safer Object.prototype.hasOwnProperty.call checks, preventing traversal into function-like objects, and rejecting reserved internal identifiers such as _jsonata_lambda and _jsonata_function. Affected versions include releases before 1.8.8 and 2.x versions prior to 2.2.1, with fixes delivered through 1.8.8/1.8.9, 2.2.0, and 2.2.1; organizations using JSONata to process user-supplied expressions should prioritize upgrading and review exposed services for possible exploitation.
Why it matters
Impact assessment
Critical remote code execution exposure affects server-side Node.js applications that evaluate untrusted JSONata expressions. The highest risk is to internet-exposed APIs, integration services, serverless functions, and microservices that allow user-supplied JSONata queries or transformations. Scope is potentially broad across any organization embedding JSONata in backend workflows, but exploitation requires the attacker to control the evaluated expression.
Successful exploitation can lead to full compromise of the host process context, including theft of environment variables, configuration files, and database credentials, followed by persistence or lateral movement. The vulnerabilities are remotely exploitable without authentication or user interaction, and the published CVSS v4 score for CVE-2026-77414 and CVE-2026-77415 is 9.3 Critical.
No confirmed in-the-wild exploitation is stated in the provided references. Given the low-complexity network attack path and public technical details, exposed services should be treated as high-priority remediation targets.
Affected populations
- Organizations running Node.js services that compile or evaluate user-controlled JSONata expressions
- SaaS platforms exposing JSONata-based filtering, mapping, workflow, or transformation features
- Cloud, serverless, and microservice environments where compromised runtimes can access adjacent services or secrets
Severity and business impact
- Arbitrary code execution with privileges of the host Node.js process
- Exposure of secrets: environment variables, config files, database credentials
- Operational disruption from unauthorized command execution and payload deployment
- Potential reputational and financial impact from service compromise and downstream data exposure
Scope and exploitation status
- Exposure is widespread wherever vulnerable JSONata versions are embedded in backend services and untrusted expressions are accepted
- Attack is unauthenticated, remote, and requires no user interaction
- No explicit reports of exploitation in the wild were provided in the references


