Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-77414: jsonata-js can run arbitrary code via crafted expressions
CVE-2026-77414 · published 2 months ago
Summary
Versions of jsonata-js before 1.8.8 (and the 2.x line before 2.2.1) let specially made queries reach into the underlying system and start any program the host process can run. This could allow an attacker to take control of the server or workflow that processes those queries. Update jsonata-js to version 1.8.8 or later (or 2.2.1 or later for the 2.x series) to remove the risk.
What to do
- Update GitHub Actions jsonata to version 2.2.1.
- Update GitHub Actions jsonata to version 1.8.8.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| – | jsonata-js | jsonata | < 1.8.8 |
| npm | GitHub Actions | jsonata |
>= 2.0.0, < 2.2.1 < 1.8.8 Fix: upgrade to 2.2.1
|
Original advisory text
JSONata: Arbitrary Code Execution via crafted JSONata expressions
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 process. This issue is fixed in versions 1.8.8 and 2.2.1.
References
- https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8 URL
- https://github.com/jsonata-js/jsonata/releases/tag/v2.2.1 URL
- https://github.com/jsonata-js/jsonata/security/advisories/GHSA-2943-5xfg-gq5f Vendor Advisory
- https://github.com/jsonata-js/jsonata/commit/59e25144fc3b7125f6befd71b8a6e14e1fa... Patch
- https://github.com/jsonata-js/jsonata/pull/799 Patch
- https://github.com/jsonata-js/jsonata/commit/c41ef185136a7b96ca1049c7745a7503b82...
- https://github.com/jsonata-js/jsonata/commit/f09df8416eab8ff44926fc6527c80fb8701...
- https://github.com/advisories/GHSA-2943-5xfg-gq5f
- https://github.com/jsonata-js/jsonata Product
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77414... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-77414 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker full control
Severity
9.9
Critical
Type
CWE-94Code Injection
Timeline
Published21 Aug 2026
Updated4 Nov 2026
First seen21 Aug 2026
Sources
CVE-2026-77414 · NVD
CVE-2026-77414 · MITRE
GHSA-2943-5xfg-gq5f · GHSA
GHSA-2943-5xfg-gq5f · OSV
CVE-2026-77414 · OSV
Track software like this
Free during beta