CVE-2026-77413 json
JSONata: Arbitrary Code Execution via crafted JSONata expressions
published 2026-08-21 2 mo ago modified 2026-10-12 27 d ago also GHSA-8gq3-vp5j-2grp , EUVD-2026-64155
- cvss
- 9.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
JSONata is a JSON query and transformation language. Prior to 1.8.8 and 2.2.0, the src/functions.js lookup function lacked an Object.prototype.hasOwnProperty check and allowed crafted expressions to access inherited prototype members. An attacker able to supply an expression could use inherited prototype setters and getters, constructor access, valueOf, and process.getBuiltinModule to reach the child_process module and execute arbitrary code with the privileges of the host process. This issue is fixed in versions 1.8.8 and 2.2.0.
Patch / fix
- npm jsonata 1.8.8, 2.2.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-77413 updated cvss 9.8
jsonata: JSONata: Arbitrary Code Execution via crafted JSONata expressions
-
Red Hat Developer Hub 1.10 rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets 1791250794fixed: vendor fix RHSA-2026:76788
-
Red Hat OpenShift Serverless openshift-serverless-1/kn-eventing-integrations-log-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9, openshift-serverless-1/kn-eventing-integrations-timer-source-rhel9, openshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9, +3 more Red Hat Developer Hub 1.10 rhdh/red-hat-developer-hub-backstage-plugin-lightspeed 1791242743, rhdh/red-hat-developer-hub-backstage-plugin-orchestrator 1791250003, rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend 1791242697, rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend 1791251282, rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend-module-loki 1791250355, rhdh/red-hat-developer-hub-backstage-plugin-scaffolder-backend-module-orchestrator 1791249640not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jsonata-js/jsonata/security/advisories/GHSA-8gq3-vp5j-2grp referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 9.3 | 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 |
| CNA | 4.0 | 9.3 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jsonata | <1.8.8 >=2.0.0, <2.2.0 |
1.8.8 2.2.0 |
Affected products
- jsonata-js jsonata
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/jsonata-js/jsonata/pull/794
web
-
github.com
/jsonata-js/jsonata/commit/4b217d514376e30cba278941298d7ba97c4a6c6e
web
-
github.com
/jsonata-js/jsonata/commit/4c5f4adfb90a9b500889d50f90050ca68888b50d
web
-
github.com
/jsonata-js/jsonata/security/advisories/GHSA-8gq3-vp5j-2grp
exploit, web
-
github.com
/jsonata-js/jsonata/releases/tag/v1.8.8
web
-
github.com
/jsonata-js/jsonata/releases/tag/v2.2.0
web
-
github.com
/jsonata-js/jsonata
package
Sources
- CVE List CVE-2026-77413
- GitHub Advisory GHSA-8gq3-vp5j-2grp
- NVD CVE-2026-77413
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.