CVE-2026-77414: Vulnerability in jsonata

Critical. JSONata is a JSON query and transformation language. Prior to 1.8.8 and 2.2.1, the src/jsonata.js environment.lookup function used a bypassable hasOwnProperty check. Crafted expressions could use $hasOwnProperty, $spread, $string, prototype access, and $constructor to reach the object prototype and invoke process.getBuiltinModule with child_process, executing arbitrary code with the privileges of the host...

npm, CWE-94

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-2943-5xfg-gq5f
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-94
Published
21 Aug 2026
Last change
12 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • jsonata npm, Affected from 2.0.0 before 2.2.1. Fixed in 2.2.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes