CVE-2026-77413

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.
CVSS

No CVSS.

Configurations

No configuration.

History

12 Oct 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) JSONata es un lenguaje de consulta y transformación de JSON. Antes de las versiones 1.8.8 y 2.2.0, la función lookup en src/functions.js carecía de una comprobación Object.prototype.hasOwnProperty y permitía que expresiones manipuladas accedieran a miembros de prototipo heredados. Un atacante capaz de proporcionar una expresión podría usar setters y getters de prototipo heredados, acceso al constructor, valueOf y process.getBuiltinModule para alcanzar el módulo child_process y ejecutar código arbitrario con los privilegios del proceso anfitrión. Este problema está solucionado en las versiones 1.8.8 y 2.2.0.

Information

Published : 2026-08-21 21:17

Updated : 2026-10-12 16:10


NVD link : CVE-2026-77413

Mitre link : CVE-2026-77413

CVE.ORG link : CVE-2026-77413


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')