Arbitrary Code Injection Affecting jsonata package, versions <1.8.8>=2.0.0 <2.2.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.51% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-JSONATA-19233334
  • published23 Aug 2026
  • disclosed21 Aug 2026
  • creditArthur

Introduced: 21 Aug 2026

NewCVE-2026-77415  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade jsonata to version 1.8.8, 2.2.1 or higher.

Overview

jsonata is a JSON query and transformation language

Affected versions of this package are vulnerable to Arbitrary Code Injection via crafted expressions that exploit the evaluateTransformExpression and applyProcedure functions. An attacker can execute arbitrary code by submitting specially crafted JSONata expressions that manipulate internal functions and object prototypes.

CVSS Base Scores

version 4.0
version 3.1