Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityinternet-facing-service-vulnerabilitywidely-deployed-product-advisoryinitial-access-method

Critical JSONata RCE Flaws Let Crafted Expressions Escape Sandboxes

Vulnerability Disclosure · 12 sources · Updated 3mo ago · First seen Aug 21, 2026

Critical JSONata RCE Flaws Let Crafted Expressions Escape Sandboxes

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
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

7 events · May 14, 2026 – Aug 21, 2026
  1. Aug 21, 20263mo ago

    CVE-2026-77415 published for chained JSONata sandbox escape

    On August 21, 2026, CVE-2026-77415 was published for a critical JSONata sandbox escape and arbitrary code execution issue caused by multiple object-integrity weaknesses. The advisory says crafted expressions could chain these flaws to reach child_process execution, with fixes in versions 1.8.8 and 2.2.1.

    CVE-2026-77415: CVE-2026-77415: Sandbox Escape and Arbitrary Code Execution in JSONata Engine | CVEReports
  2. Aug 21, 20263mo ago

    CVE-2026-77414 published for JSONata environment.lookup RCE

    On August 21, 2026, CVE-2026-77414 was published for a critical JSONata vulnerability in src/jsonata.js environment.lookup involving a bypassable hasOwnProperty check. The issue enables remote, unauthenticated arbitrary code execution via crafted JSONata expressions and is fixed in versions 1.8.8 and 2.2.1.

    CVE-2026-77414: CVE-2026-77414: Critical Sandbox Escape and Remote Code Execution in JSONata via Prototype Pollution | CVEReports
  3. Aug 21, 20263mo ago

    CVE-2026-77413 published for JSONata prototype lookup RCE

    On August 21, 2026, CVE-2026-77413 was published for a JSONata flaw in src/functions.js lookup that allowed crafted expressions to access inherited prototype members and achieve arbitrary code execution. The advisory states affected versions were fixed in 1.8.8 and 2.2.0.

    CVE-2026-77413 - JSONata: Arbitrary Code Execution via crafted JSONata expressions
  4. Jul 15, 20265mo ago

    JSONata backports security hardening to v1.8.9

    On July 15, 2026, jsonata-js committed backported security fixes to the v1 branch for release v1.8.9. The changes hardened prototype handling, blocked traversal into function-like objects, and rejected reserved internal property names such as _jsonata_lambda and _jsonata_function.

    CVE-2026-77414: CVE-2026-77414: Critical Sandbox Escape and Remote Code Execution in JSONata via Prototype Pollution | CVEReports
  5. May 19, 20266mo ago

    JSONata commits broad prototype-pollution hardening patch

    On May 19, 2026, jsonata-js committed a multi-file hardening patch to prevent prototype pollution and inherited-property abuse across expression evaluation, tuple handling, parsing, signatures, date/time parsing, and helper functions. The changes replaced unsafe object iteration and direct inherited-method use with Object.keys(), Object.prototype.hasOwnProperty.call, and Object.create(null).

    Prevent object prototype pollution (#799) · jsonata-js/jsonata@59e2514 · GitHub
  6. May 14, 20267mo ago

    JSONata releases version 2.2.0 with security fixes

    On May 14, 2026, jsonata-js published JSONata 2.2.0, stating the release predominantly contained security-related fixes and enhancements addressing GHSA-86vw-mfpg-wwv9. The release notes specifically mention preventing $lookup from accessing object prototype members and adding expression resource guardrails.

    Release 2.2.0 Milestone Release · jsonata-js/jsonata · GitHub
  7. May 14, 20267mo ago

    JSONata fixes prototype-member lookup in v2.2.0 branch

    On May 14, 2026, jsonata-js committed a change to prevent $lookup from accessing inherited JavaScript object prototype members by requiring own-property checks and ignoring inherited properties. The patch also updated tests so prototype-access and prototype-pollution attempts evaluate safely or fail with T1006.

    prevent $lookup from accessing object prototype members (#794) · jsonata-js/jsonata@4c5f4ad · GitHub
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.