CVE-2026-77415: CWE-94: Improper Control of Generation of Code ('Code Injection') in jsonata-js jsonata
CVE-2026-77415 is a critical code injection vulnerability in the jsonata-js library, a JSON query and transformation language. Prior to versions 1.8.8 and 2.2.1, crafted JSONata expressions could chain multiple object-integrity weaknesses to execute arbitrary code with the privileges of the host process. The vulnerability involves overwriting internal functions and accessing prototype and constructor properties to escalate privileges. This issue is fixed in jsonata versions 1.8.8 and 2.2.1.
AI Analysis
Technical Summary
The vulnerability in jsonata-js (CVE-2026-77415) allows attackers to execute arbitrary code by chaining several object-integrity weaknesses in crafted JSONata expressions. These weaknesses include overwriting the $clone function to mutate objects, exposing and deconstructing JSONata functions or lambdas via $merge.*, replacing proc.arguments.forEach used by applyProcedure, and forging internal lambda state. Exploiting these primitives enables access to prototype getters, prototype and constructor properties, and the process.getBuiltinModule function with child_process, ultimately allowing code execution with the host process's privileges. The vulnerability affects versions prior to 1.8.8 and 2.2.1 and has been fixed in those versions.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary code on the host system with the privileges of the process running jsonata-js. This can lead to full system compromise, data theft, or disruption of service. The CVSS 4.0 base score is 9.3, reflecting critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
The vendor has fixed this vulnerability in jsonata-js versions 1.8.8 and 2.2.1. Users should upgrade to at least these versions to remediate the issue. Since this is a cloud service, the vendor typically manages remediation for hosted environments; users should verify with their service provider that the fix has been applied. Patch status is confirmed as available.
CVE-2026-77415: CWE-94: Improper Control of Generation of Code ('Code Injection') in jsonata-js jsonata
Description
CVE-2026-77415 is a critical code injection vulnerability in the jsonata-js library, a JSON query and transformation language. Prior to versions 1.8.8 and 2.2.1, crafted JSONata expressions could chain multiple object-integrity weaknesses to execute arbitrary code with the privileges of the host process. The vulnerability involves overwriting internal functions and accessing prototype and constructor properties to escalate privileges. This issue is fixed in jsonata versions 1.8.8 and 2.2.1.
CVSS v4.0
Score 9.3critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in jsonata-js (CVE-2026-77415) allows attackers to execute arbitrary code by chaining several object-integrity weaknesses in crafted JSONata expressions. These weaknesses include overwriting the $clone function to mutate objects, exposing and deconstructing JSONata functions or lambdas via $merge.*, replacing proc.arguments.forEach used by applyProcedure, and forging internal lambda state. Exploiting these primitives enables access to prototype getters, prototype and constructor properties, and the process.getBuiltinModule function with child_process, ultimately allowing code execution with the host process's privileges. The vulnerability affects versions prior to 1.8.8 and 2.2.1 and has been fixed in those versions.
Potential Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary code on the host system with the privileges of the process running jsonata-js. This can lead to full system compromise, data theft, or disruption of service. The CVSS 4.0 base score is 9.3, reflecting critical severity with network attack vector, no required privileges or user interaction, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
The vendor has fixed this vulnerability in jsonata-js versions 1.8.8 and 2.2.1. Users should upgrade to at least these versions to remediate the issue. Since this is a cloud service, the vendor typically manages remediation for hosted environments; users should verify with their service provider that the fix has been applied. Patch status is confirmed as available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-20T19:55:27.024Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a88be1bacd9273b49bcc6c7
Added to database: 08/21/2026, 21:07:39 UTC
Last enriched: 08/21/2026, 21:22:37 UTC
Last updated: 08/22/2026, 01:31:24 UTC
Views: 18
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.