CVE-2026-52746 JSONata: Malicious inputs to "$toMillis" function can cause resource exhaustion
Attackers can cause denial of service in applications evaluating user-provided JSONata expressions via malicious inputs to the $toMillis function.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-52746?
CVE-2026-52746 is a high-severity denial of service vulnerability in jsonata-js jsonata, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
JSONata is a JSON query and transformation language. Prior to 2.2.0 and 1.8.9, malicious non-matching inputs to the $toMillis function can cause superlinear backtracking in the ISO-8601 validation regex, leading to denial of service in applications that evaluate user-provided JSONata expressions. This issue is fixed in version 2.2.0 and 1.8.9.
Weakness: CWE-1333
Which versions are affected by CVE-2026-52746?
4 open source packages ship an affected version, including jsonata. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
jsonata npm | All versions | 1.8.9 |
jsonata npm | All versions | 1.8.9 |
jsonata npm | From 2.0.0 | 2.2.0 |
jsonata npm | From 2.0.0 | 2.2.0 |
Products include Jsonata Jsonata.
How do I fix CVE-2026-52746?
Upgrade jsonata to a fixed version for your release line: 1.8.9 or 2.2.0.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-52746 being exploited?
There is no known exploitation of CVE-2026-52746 in the wild and no public exploit code.
Other vulnerabilities in jsonata-js jsonata
Sources
Also known as CLEANSTART-2026-DT65418, GHSA-86vw-mfpg-wwv9, MINI-46w4-x28f-v8r4, MINI-9gx3-q359-8qj4, MINI-cxrc-pqqq-87m3, MINI-gw5q-cr79-5phj.