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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-07-02T20:13:55.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-86vw-mfpg-wwv9
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jsonata-js jsonata: >= 2.0.0, < 2.2.0; < 1.8.9
- jsonata (npm): from 2.0.0 before 2.2.0; before 1.8.9
- jsonata jsonata: before 2.2.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9> (patch, vendor-advisory, 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/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686> (patch, web)
- <https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b> (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://nvd.nist.gov/vuln/detail/CVE-2026-52746> (advisory)
- <https://github.com/jsonata-js/jsonata> (package)

## Sources

- CVE List: [CVE-2026-52746](https://www.cve.org/CVERecord?id=CVE-2026-52746), CVE Terms of Use, modified 2026-08-03
- GitHub Advisory Database: [GHSA-86vw-mfpg-wwv9](https://github.com/advisories/GHSA-86vw-mfpg-wwv9), CC-BY-4.0, modified 2026-08-03
- NVD: [CVE-2026-52746](https://nvd.nist.gov/vuln/detail/CVE-2026-52746), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-52746 · Whole record: https://cve.day/CVE-2026-52746.json · Rebuilt by cve.day 2026-11-25T22:59:28.513Z
