---
title: "CVE-2026-77413: JSONata: Arbitrary Code Execution via crafted JSONata expressions"
url: https://erroneo.us/security/cve/CVE-2026-77413/
description: "CVE-2026-77413 (jsonata (npm)): JSONata is a JSON query and transformation language. Prior to 1.8.8 and 2.2.0, the src/functions.js lookup function lacked…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-08-21
date_modified: 2026-08-24
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-77413"
kev: false
cvss: 9.3
epss: 0.00719
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-77413: JSONata: Arbitrary Code Execution via crafted JSONata expressions

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.7% , percentile 53: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 53% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes jsonata (npm) <= 1.8.7, fixed in 1.8.8 ; jsonata (npm) >= 2.0.0, < 2.2.0, fixed in 2.2.0 . Check your lockfile, including transitive dependencies.

## What it is

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 childprocess 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 packages

- npm `jsonata` <= 1.8.7 → fixed: 1.8.8
- npm `jsonata` >= 2.0.0, < 2.2.0 → fixed: 2.2.0

## Affected products (CVE record)

- jsonata-js jsonata: < 2.2.0

## Severity

- GitHub_M CVSS 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`
- GitHub CVSS 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`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.72% probability of exploitation activity in the next 30 days; percentile 53.

## Sources

- [GitHub Advisory GHSA-8gq3-vp5j-2grp](https://github.com/advisories/GHSA-8gq3-vp5j-2grp)
- [CVE.org record CVE-2026-77413](https://www.cve.org/CVERecord?id=CVE-2026-77413)
- [NVD entry CVE-2026-77413](https://nvd.nist.gov/vuln/detail/CVE-2026-77413)
- [github.com](https://github.com/jsonata-js/jsonata/security/advisories/GHSA-8gq3-vp5j-2grp)
- [github.com](https://github.com/jsonata-js/jsonata/pull/794)
- [github.com](https://github.com/jsonata-js/jsonata/commit/4b217d514376e30cba278941298d7ba97c4a6c6e)
- [github.com](https://github.com/jsonata-js/jsonata/commit/4c5f4adfb90a9b500889d50f90050ca68888b50d)
- [github.com](https://github.com/jsonata-js/jsonata/releases/tag/v1.8.8)
- [github.com](https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0)

---
Source page: https://erroneo.us/security/cve/CVE-2026-77413/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
