cve.bz

CVE-2026-77413 jsonata-js jsonata: Code Injection

9.3 criticalEPSS 0.7%Fix available

Critical (9.3) in jsonata-js jsonata. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in jsonata 1.8.8, 2.2.0.

On this page
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.

Severity

CVSS 4.0

9.3 critical
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
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-08-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • jsonata (npm): fixed in 1.8.8, 2.2.0

Ask an AI about this CVE

Show the promptExplain CVE-2026-77413 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-77413?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-77413?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-77413 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jsonata-js jsonata< 2.2.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8gq3-vp5j-2grpnpmjsonata<1.8.81.8.8
GHSA-8gq3-vp5j-2grpnpmjsonata>=2.0.0 <2.2.02.2.0

Red Hat

Red Hat rates this Critical.

Red Hat's statement

This is a Critical arbitrary code execution flaw in the JSONata library, affecting its `lookup` function due to improper object property validation. An attacker supplying crafted JSONata expressions to a vulnerable Red Hat product could achieve remote code execution with the privileges of the host process, leading to a complete compromise of the system.

Red Hat's mitigation

To mitigate this issue, applications utilizing the JSONata library should be configured to strictly validate and sanitize all incoming JSONata expressions, ensuring that only trusted and well-formed expressions are processed. If processing untrusted expressions is unavoidable, deploy the application in a sandboxed environment with minimal privileges to limit the potential impact of arbitrary code execution.

ProductPackageStateAdvisory
Red Hat Developer Hub 1.10rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets:1791250794Fixed 2026-10-06RHSA-2026:76788
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-ddb-streams-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-s3-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sns-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-aws-sqs-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-log-sink-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-timer-source-rhel9Not affected
OpenShift Serverlessopenshift-serverless-1/kn-eventing-integrations-transform-jsonata-rhel9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-77413.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON