Vulnerability · Published Jul 17, 2026 · Assigned by GitHub_M

CVE-2026-52746JSONata: Malicious inputs to "$toMillis" function can cause resource exhaustion

High 7.5

In plain English

A high-severity regular-expression denial of service in jsonata from jsonata-js. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 47.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmjsonata2.2.0GHSA-86vw-mfpg-wwv9
npmjsonata1.8.9GHSA-86vw-mfpg-wwv9

Affected products (as reported)

VendorProductVersions
jsonata-js jsonata >= 2.0.0, < 2.2.0< 1.8.9

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References