CVE-2026-77413 JSONata: Arbitrary Code Execution via crafted JSONata expressions
CriticalCVSS 9.3
EPSS 0.72%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Red Hat
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jsonata-js jsonata | = < 2.2.0 | No fix listed |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:1791250794(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| npm jsonata(npm) | <= 1.8.7 | No fix listed |
| npm jsonata(npm) | >= 2.0.0, < 2.2.0 | 2.2.0 |
| npm jsonata(npm) | < 1.8.8 | 1.8.8 |
References
- https://github.com/jsonata-js/jsonata/security/advisories/GHSA-8gq3-vp5j-2grp exploit vendor-advisory
- https://github.com/jsonata-js/jsonata/pull/794 patch
- https://github.com/jsonata-js/jsonata/commit/4b217d514376e30cba278941298d7ba97c4a6c6e patch
- https://github.com/jsonata-js/jsonata/commit/4c5f4adfb90a9b500889d50f90050ca68888b50d patch
- https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8
- https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:76788 patch vendor-advisory
- Red Hat Bugzilla 2521208 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- github.com product