<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Jsonata (2.0.0 to 2.2.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/jsonata-2.0.0-to-2.2.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sat, 22 Aug 2026 01:16:22 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/jsonata-2.0.0-to-2.2.0/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Arbitrary Code Execution in JSONata</title><link>https://feed.craftedsignal.io/briefs/2026-08-jsonata-rce/</link><pubDate>Sat, 22 Aug 2026 01:16:22 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-jsonata-rce/</guid><description>The JSONata library contains a critical vulnerability (CVE-2026-77415) allowing unauthenticated attackers to achieve arbitrary code execution via maliciously crafted JSONata expressions.</description><content:encoded><![CDATA[<p>JSONata versions prior to 2.2.1 and 1.8.8 are vulnerable to arbitrary code execution due to flaws in how the library processes and executes transformation expressions. An attacker can chain three specific vulnerabilities to escape the sandboxed environment: the ability to overwrite the internal <code>$clone</code> function, the ability to destruct internal JSONata lambdas, and an unsafe implementation of <code>forEach</code> within the <code>applyProcedure</code> function. By manipulating these primitives, an attacker can prototype-pollute the execution context and access Node.js built-in modules, such as <code>child_process</code>. This allows the execution of arbitrary system commands on the host running the JSONata engine. This vulnerability, tracked as CVE-2026-77415, poses a significant risk to applications that process untrusted user-supplied JSONata expressions.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies an application endpoint that accepts and evaluates user-provided JSONata expressions.</li>
<li>Attacker submits a crafted JSONata payload that overwrites the <code>$clone</code> function to permit object mutation.</li>
<li>Attacker uses <code>$merge</code> to destruct internal JSONata functions or lambdas, enabling access to the execution context.</li>
<li>Attacker performs prototype pollution using the manipulated objects to access <code>__lookupGetter__</code>.</li>
<li>Attacker exploits the unsafe <code>forEach</code> implementation in <code>applyProcedure</code> to further refine the execution environment.</li>
<li>Attacker leverages the modified environment to bridge into the Node.js runtime and access the <code>child_process</code> built-in module.</li>
<li>Attacker executes system-level commands, such as <code>execSync('sh')</code>, to achieve full remote code execution.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-77415 allows for complete system compromise on any server running vulnerable versions of the JSONata library. The vulnerability affects all applications that allow users to submit dynamic JSONata queries, including data processing platforms, API transformation layers, and automation engines. Organizations using vulnerable versions should prioritize patching to 2.2.1 or 1.8.8 immediately to mitigate the risk of arbitrary command execution.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Update the jsonata package to version 2.2.1 or 1.8.8 across all affected applications immediately.</li>
<li>Implement strict input validation or sandboxing for any interface that evaluates user-supplied JSONata expressions.</li>
<li>Scan dependencies to identify all instances of the vulnerable jsonata package within the software supply chain.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>remote-code-execution</category><category>cve-2026-77415</category><category>software-vulnerability</category><category>nodejs</category></item></channel></rss>