{"id":"CVE-2026-52746","aliases":["GHSA-86vw-mfpg-wwv9"],"summary":"JSONata: Malicious inputs to \"$toMillis\" function can cause resource exhaustion","published_at":"2026-07-02T20:13:55Z","modified_at":"2026-11-20T14:00:58Z","products":[],"rating":{"severity":"high","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006889999844133854,"percentile":0.53684002161026,"date":"2026-11-20T00:00:00Z"},"priority":9.5,"record_count":4,"vendors":["Red Hat","GitHub"],"details":"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_stack":[],"affected_other":[{"ecosystem":"CVE","package":"jsonata-js/jsonata","versions":[">= 2.0.0, < 2.2.0","< 1.8.9"],"provider":"cvelistv5","source":"CVE-2026-52746","relation":"self"},{"ecosystem":"NVD","package":"jsonata:jsonata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}],"fixed":["2.2.0"],"provider":"nvd","source":"CVE-2026-52746","relation":"self"},{"ecosystem":"npm","package":"jsonata","purl":"pkg:npm/jsonata","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.2.0"}]}],"fixed":["2.2.0"],"provider":"osv","source":"GHSA-86vw-mfpg-wwv9","relation":"self"},{"ecosystem":"npm","package":"jsonata","purl":"pkg:npm/jsonata","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.8.9"}]}],"fixed":["1.8.9"],"provider":"osv","source":"GHSA-86vw-mfpg-wwv9","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"under_investigation","packages":["openshift-serverless-1/kn-eventing-integrations-transform-jsonata-rhel9","openshift-serverless-1/logic-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"provider":"redhat-vex","source":"CVE-2026-52746"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"under_investigation","packages":["rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets"],"package_count":1,"fixed":[],"advisories":[],"provider":"redhat-vex","source":"CVE-2026-52746"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 2","cpe":"cpe:/a:redhat:rhdh:2","status":"under_investigation","packages":["rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets"],"package_count":1,"fixed":[],"advisories":[],"provider":"redhat-vex","source":"CVE-2026-52746"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-52746","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-52746","license":"CC-BY-4.0","published_at":"2026-07-17T18:32:47.173Z","modified_at":"2026-08-03T20:50:28.984Z","summary":"JSONata: Malicious inputs to \"$toMillis\" function can cause resource exhaustion","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-52746"}],"affected":[{"ecosystem":"CVE","package":"jsonata-js/jsonata","versions":[">= 2.0.0, < 2.2.0","< 1.8.9"],"provider":"cvelistv5","source":"CVE-2026-52746","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/pull/782"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/pull/793"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0"}]},{"provider":"nvd","source_id":"CVE-2026-52746","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52746","severity":[],"affected":[{"ecosystem":"NVD","package":"jsonata:jsonata","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}],"fixed":["2.2.0"],"provider":"nvd","source":"CVE-2026-52746","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-86vw-mfpg-wwv9","relation":"self","url":"https://osv.dev/vulnerability/GHSA-86vw-mfpg-wwv9","license":"CC-BY-4.0","published_at":"2026-07-02T20:13:55Z","modified_at":"2026-08-03T21:00:22.986728Z","summary":"jsonata: Malicious inputs to \"$toMillis\" function can cause resource exhaustion","details":"### Impact\nBefore JSONata `2.2.0` and `1.8.9`, it is possible to craft non-matching inputs to the [$toMillis](https://docs.jsonata.org/date-time-functions#tomillis) function that cause superlinear backtracking in the ISO-8601 validation regex. This may lead to denial of service in applications that evaluate user-provided JSONata expressions.\n\n### Patches\nThis issue has been addressed in JSONata version 2.2.0 or later, and 1.8.9 or later on v1, via fixes that include https://github.com/jsonata-js/jsonata/pull/782 and https://github.com/jsonata-js/jsonata/pull/793. Applications that evaluate user-provided expressions should update ASAP to prevent exploitation.\n\n### References\nhttps://github.com/jsonata-js/jsonata/releases/tag/v2.2.0\nhttps://github.com/jsonata-js/jsonata/releases/tag/v1.8.9\n\n### Credit\nThank you to Doruk Tan Öztürk for disclosing this issue.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GHSA-86vw-mfpg-wwv9"}],"affected":[{"ecosystem":"npm","package":"jsonata","purl":"pkg:npm/jsonata","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.2.0"}]}],"fixed":["2.2.0"],"provider":"osv","source":"GHSA-86vw-mfpg-wwv9","relation":"self"},{"ecosystem":"npm","package":"jsonata","purl":"pkg:npm/jsonata","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.8.9"}]}],"fixed":["1.8.9"],"provider":"osv","source":"GHSA-86vw-mfpg-wwv9","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52746"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/pull/782"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/pull/793"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b"},{"type":"PACKAGE","url":"https://github.com/jsonata-js/jsonata"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0"}]},{"provider":"redhat-vex","source_id":"CVE-2026-52746","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-52746","license":"CC-BY-4.0","published_at":"2026-07-17T18:32:47.173Z","modified_at":"2026-11-20T14:00:58Z","summary":"jsonata: JSONata: Denial of Service via malicious input to $toMillis function","details":"A flaw was found in JSONata, a JSON query and transformation language. Malicious inputs to the $toMillis function can cause excessive processing due to a vulnerability in its ISO-8601 validation. This can lead to a denial of service, making applications that use JSONata expressions unresponsive.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-52746"},{"type":"Red Hat","score":"Important","source":"CVE-2026-52746"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Serverless","cpe":"cpe:/a:redhat:serverless:1","status":"under_investigation","packages":["openshift-serverless-1/kn-eventing-integrations-transform-jsonata-rhel9","openshift-serverless-1/logic-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"provider":"redhat-vex","source":"CVE-2026-52746"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 1","cpe":"cpe:/a:redhat:rhdh:1","status":"under_investigation","packages":["rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets"],"package_count":1,"fixed":[],"advisories":[],"provider":"redhat-vex","source":"CVE-2026-52746"},{"vendor":"Red Hat","product":"Red Hat Developer Hub 2","cpe":"cpe:/a:redhat:rhdh:2","status":"under_investigation","packages":["rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-form-widgets"],"package_count":1,"fixed":[],"advisories":[],"provider":"redhat-vex","source":"CVE-2026-52746"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52746.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-52746"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2501849"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-52746"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52746"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/pull/782"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/pull/793"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9"}]}],"references":[{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/pull/782"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/pull/793"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9"},{"type":"WEB","url":"https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52746"},{"type":"PACKAGE","url":"https://github.com/jsonata-js/jsonata"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52746.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-52746"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2501849"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-52746"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-52746","url":"https://www.cve.org/CVERecord?id=CVE-2026-52746","license":"CC-BY-4.0","modified_at":"2026-08-03T20:50:28.984Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-52746","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52746","relation":"self"},{"provider":"osv","source_id":"GHSA-86vw-mfpg-wwv9","url":"https://osv.dev/vulnerability/GHSA-86vw-mfpg-wwv9","license":"CC-BY-4.0","modified_at":"2026-08-03T21:00:22.986728Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-52746","url":"https://access.redhat.com/security/cve/CVE-2026-52746","license":"CC-BY-4.0","modified_at":"2026-11-20T14:00:58Z","relation":"self"}]}
