High severityNVD Advisory· Published Jul 17, 2026· Updated Aug 3, 2026
JSONata: Malicious inputs to "$toMillis" function can cause resource exhaustion
CVE-2026-52746
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
jsonatanpm | >= 2.0.0, < 2.2.0 | 2.2.0 |
jsonatanpm | < 1.8.9 | 1.8.9 |
Affected products
1- Range: <2.2.0 and <1.8.9
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-86vw-mfpg-wwv9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-52746ghsaADVISORY
- github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686ghsax_refsource_MISCWEB
- github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0bghsax_refsource_MISCWEB
- github.com/jsonata-js/jsonata/pull/782ghsax_refsource_MISCWEB
- github.com/jsonata-js/jsonata/pull/793ghsax_refsource_MISCWEB
- github.com/jsonata-js/jsonata/releases/tag/v1.8.9ghsax_refsource_MISCWEB
- github.com/jsonata-js/jsonata/releases/tag/v2.2.0ghsax_refsource_MISCWEB
- github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.