CVE-2026-77413

Description

A flaw was found in JSONata. The lookup function, a component of the JSONata query and transformation language, did not properly validate object properties. This oversight allowed an attacker to craft malicious expressions that could access and manipulate sensitive inherited prototype members. Consequently, a remote attacker could exploit this vulnerability to execute arbitrary code with the privileges of the host process.

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.

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.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score9.8N/AN/A
Attack VectorNetworkN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredNoneN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityHighN/AN/A
Integrity ImpactHighN/AN/A
Availability ImpactHighN/AN/A

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Application Data

An attacker could modify sensitive data or program variables.

Integrity

Technical Impact: Execute Unauthorized Code or Commands

Other,Integrity

Technical Impact: Varies by Context; Alter Execution Logic

Frequently Asked Questions

Want to get errata notifications? Sign up here.