CVE-2026-77415 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-66mm-25pp-rfff , EUVD-2026-64166
- cvss
- 9.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
JSONata is a JSON query and transformation language. Prior to 1.8.8 and 2.2.1, crafted JSONata expressions could chain several object-integrity weaknesses to execute arbitrary code. The chain could overwrite $clone to mutate objects through evaluateTransformExpression, expose and deconstruct JSONata functions or lambdas through $merge.*, replace proc.arguments.forEach used by applyProcedure, and forge internal lambda state. These primitives allowed an attacker to reach prototype getters, prototype and constructor access, and process.getBuiltinModule with child_process, executing code with the privileges of the host process. This issue is fixed in versions 1.8.8 and 2.2.1.
Patch / fix
- npm jsonata 1.8.8, 2.2.1
- github.com/jsonata-js/jsonata@47c0e58 commit
- github.com/jsonata-js/jsonata@4b217d5 commit
- github.com/jsonata-js/jsonata@59e2514 commit
- github.com/jsonata-js/jsonata@f09df84 commit
- github.com/jsonata-js/jsonata@f174348 commit
- github.com/jsonata-js/jsonata#799 pull request
- github.com/jsonata-js/jsonata#800 pull request
- github.com/jsonata-js/jsonata#802 pull request
- github.com/jsonata-js/jsonata/releases/tag/v1.8.8 release
- github.com/jsonata-js/jsonata/releases/tag/v2.2.1 release
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-77415 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.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jsonata-js/jsonata/security/advisories/GHSA-66mm-25pp-rfff 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 | >=2.0.0, <2.2.1 <1.8.8 |
2.2.1 1.8.8 |
Affected products
- jsonata-js jsonata
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/jsonata-js/jsonata/pull/799
web
-
github.com
/jsonata-js/jsonata/pull/800
web
-
github.com
/jsonata-js/jsonata/pull/802
web
-
github.com
/jsonata-js/jsonata/commit/47c0e58542202c705726663166dbee5fcae47d06
web
-
github.com
/jsonata-js/jsonata/commit/4b217d514376e30cba278941298d7ba97c4a6c6e
web
-
github.com
/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa610d2
web
-
github.com
/jsonata-js/jsonata/commit/f09df8416eab8ff44926fc6527c80fb8701de159
web
-
github.com
/jsonata-js/jsonata/commit/f174348c7fa30f271b63ddedf0767e814004bc4d
web
-
github.com
/jsonata-js/jsonata/security/advisories/GHSA-66mm-25pp-rfff
exploit, web
-
github.com
/jsonata-js/jsonata/releases/tag/v1.8.8
web
-
github.com
/jsonata-js/jsonata/releases/tag/v2.2.1
web
-
github.com
/jsonata-js/jsonata
package
Sources
- CVE List CVE-2026-77415
- GitHub Advisory GHSA-66mm-25pp-rfff
- NVD CVE-2026-77415
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.