Skip to main content
← All vulnerabilities
CVE-2026-77413GHSA-8GQ3-VP5J-2GRP

JSONata: Arbitrary Code Execution via crafted JSONata expressions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.0, 1.8.8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • jsonata-js jsonata

    fixed in 2.2.0

  • jsonatanpm

    fixed in 1.8.8

  • jsonatanpm

    From 2.0.0 · fixed in 2.2.0

References 6

GitHub · jsonata-js/jsonata