Intel

AIKIDO-2026-10859

jsonata is vulnerable to Type Confusion

Type Confusion Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 20, 2026

65

Medium Risk

This Affects:

JSjsonata
1.8.7 - 2.2.0
Fixed in 2.2.1
Are you affected? Scan for Free

TL;DR

JSONata identifies internal functions and lambdas with _jsonata_function and _jsonata_lambda marker properties. Expressions can construct objects with those marker names, causing user-created objects to mimic internal evaluator values. This can interfere with expression processing and route crafted objects through function/lambda handling paths. The fix rejects object construction that attempts to set those internal marker properties.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

jsonata is vulnerable to Type Confusion in versions 1.8.7 - 2.2.0.

How to fix this

Upgrade the jsonata library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform