CVE-2026-52746
HIGH 7.5CVSS 3.1jsonata: Malicious inputs to "$toMillis" function can cause resource exhaustion
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.
- Published
- 17 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-86vw-mfpg-wwv9
- Sources
- NVDJSONOSV GHSA-86vw-mfpg-wwv9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jsonata | jsonatacpe:2.3:a:jsonata:jsonata:*:*:*:*:*:*:*:* |
< 2.2.0 | 2.2.0 |
| OSV | npm | jsonata | >= 2.0.0, < 2.2.0 | 2.2.0 |
| OSV | npm | jsonata | < 1.8.9 | 1.8.9 |
References
- https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686 · Patch, WEB
- https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b · Patch, WEB
- https://github.com/jsonata-js/jsonata/pull/782 · Issue Tracking, Patch, WEB
- https://github.com/jsonata-js/jsonata/pull/793 · Issue Tracking, Patch, WEB
- https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9 · WEB
- https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0 · Product, Release Notes, WEB
- https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-52746 · ADVISORY
- https://github.com/jsonata-js/jsonata · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jul 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Jul 2026)