CVE-2026-52746
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.69%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.69% probability · 51th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1333
- Affected
- jsonata/jsonata
- Source
- security-advisories@github.com
References
- https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686Patch
- https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0bPatch
- https://github.com/jsonata-js/jsonata/pull/782Issue Tracking, Patch
- https://github.com/jsonata-js/jsonata/pull/793Issue Tracking, Patch
- https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9
- https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0Product, Release Notes
- https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9Patch, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.