Vulnerability in JSONata library affecting versions prior to 1.8.8 and 2.2.0
CVE-2026-77413

9.3CRITICAL

Key Information:

Vendor

Jsonata-js

Status
Vendor
CVE Published:
21 August 2026

What is CVE-2026-77413?

A vulnerability in the JSONata library allows attackers to exploit a flaw in the lookup function found in src/functions.js. This oversight prevents proper checks against Object.prototype.hasOwnProperty, enabling crafted expressions to access properties of the prototype chain. By supplying specially formed expressions, an attacker can manipulate inherited prototype setters and getters, as well as constructor functions. This can lead to unauthorized access to sensitive modules, including the child_process module, allowing for the execution of arbitrary code within the privileges of the host process. Users are encouraged to upgrade to versions 1.8.8 or 2.2.0 or later to mitigate this risk.

Affected Version(s)

jsonata < 2.2.0

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.