{"id":"CVE-2026-52746","state":"PUBLISHED","title":"JSONata: Malicious inputs to \"$toMillis\" function can cause resource exhaustion","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.","publishedAt":"2026-07-17T18:32:47.173Z","updatedAt":"2026-08-03T20:50:28.984Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["jsonata-js jsonata"],"affected":[{"vendor":"jsonata-js","product":"jsonata","versions":[{"version":">= 2.0.0, < 2.2.0","status":"affected"},{"version":"< 1.8.9","status":"affected"}]}],"references":["https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9","https://github.com/jsonata-js/jsonata/pull/782","https://github.com/jsonata-js/jsonata/pull/793","https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686","https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b","https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9","https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/52xxx/CVE-2026-52746.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-52746","state":"PUBLISHED","datePublished":"2026-07-17T18:32:47.173Z","dateUpdated":"2026-08-03T20:50:28.984Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-08T14:00:43.573Z"},"containers":{"cna":{"title":"JSONata: Malicious inputs to \"$toMillis\" function can cause resource exhaustion","descriptions":[{"lang":"en","value":"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":[{"vendor":"jsonata-js","product":"jsonata","versions":[{"version":">= 2.0.0, < 2.2.0","status":"affected"},{"version":"< 1.8.9","status":"affected"}]}],"references":[{"url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9","name":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jsonata-js/jsonata/pull/782","name":"https://github.com/jsonata-js/jsonata/pull/782","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/pull/793","name":"https://github.com/jsonata-js/jsonata/pull/793","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686","name":"https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b","name":"https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9","name":"https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9","tags":["x_refsource_MISC"]},{"url":"https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0","name":"https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-03T20:50:28.984Z"},"source":{"advisory":"GHSA-86vw-mfpg-wwv9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-17T19:44:39.303237Z","id":"CVE-2026-52746","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-17T19:44:47.439Z"}}]}}}