JSONata: Arbitrary Code Execution via crafted JSONata expressions
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-94.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jsonata-js | jsonata | before 2.2.0 | 2.2.0 | Patch available | CNA |
| — | jsonata (npm) | before 1.8.8 | 1.8.8 | Patch available | GHSA-8gq3-vp5j-2grp |
| — | jsonata (npm) | 2.0.0 to before 2.2.0 | 2.2.0 | Patch available | GHSA-8gq3-vp5j-2grp |
- jsonata Vendorjsonata-js Affected before 2.2.0 Fixed in 2.2.0 Patch available CNA
- jsonata (npm) Vendor— Affected before 1.8.8 Fixed in 1.8.8 Patch available GHSA-8gq3-vp5j-2grp
- jsonata (npm) Vendor— Affected 2.0.0 to before 2.2.0 Fixed in 2.2.0 Patch available GHSA-8gq3-vp5j-2grp
Remediation
- Fix · CNA jsonata (jsonata-js) Fixed in 2.2.0
- Fix · GHSA-8gq3-vp5j-2grp jsonata (npm) Fixed in 1.8.8 Advisory →
- Fix · GHSA-8gq3-vp5j-2grp jsonata (npm) Fixed in 2.2.0 Advisory →
Red Hat 1 advisory
- RHSA-2026:76788 Released 2026-10-06 · Red Hat rating CriticalRed Hat Developer Hub 1.10.5 Plugin Catalog GA plugins release.
- Red Hat Developer Hub 1.10 registry.redhat.io/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed, registry.redhat.io/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend, registry.redhat.io/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator +4
Vendor assessments
Red Hat
Red Hat rating: Critical. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Developer Hub 1.10 | Fixed | RHSA-2026:76788 |
Not affected: 2 products
- OpenShift Serverless
- Red Hat Developer Hub 1.10
Timeline
- 2026-10-02 Threatist record created from CVE-2026-77413
- 2026-10-03 Alias added: GHSA-8gq3-vp5j-2grp
- 2026-10-07 Fix available: RHSA-2026:76788 · Red Hat
- 2026-10-07 Fix available: Red Hat Developer Hub 1.10 · Red Hat
References
Other 7
- https://github.com/jsonata-js/jsonata/security/advisories/GHSA-8gq3-vp5j-2grp
- https://github.com/jsonata-js/jsonata/pull/794
- https://github.com/jsonata-js/jsonata/commit/4b217d514376e30cba278941298d7ba97c4a6c6e
- https://github.com/jsonata-js/jsonata/commit/4c5f4adfb90a9b500889d50f90050ca68888b50d
- https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8
- https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0
- https://github.com/jsonata-js/jsonata
More jsonata-js vulnerabilities
- TI-2026-54005 JSONata: Arbitrary Code Execution via crafted JSONata expressions CVSS 4.0CRITICAL 9.3
- TI-2026-54004 JSONata: Arbitrary Code Execution via crafted JSONata expressions CVSS 4.0CRITICAL 9.3
- TI-2026-10500 jsonata-js jsonata Function Binding Frame System jsonata.js createFrame prototype pollution CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-77413 · CVE Program
- CVE-2026-77413 · NVD
- FIRST EPSS
- GHSA-8gq3-vp5j-2grp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-77413 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences