Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-77415: CWE-94: Improper Control of Generation of Code ('Code Injection') in jsonata-js jsonata

0
Critical
VulnerabilityCVE-2026-77415cvecve-2026-77415cwe-94
Published: 08/21/2026 (08/21/2026, 21:01:09 UTC)
Source: CVE Database V5
Vendor/Project: jsonata-js
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

jsonata
pkg:npm/jsonata
Affected versions
<1.8.8<2.2.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 21:22:37 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses