{
  "id": "CVE-2026-52746",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-52746",
  "published_at": "2026-07-17T18:32:47.173Z",
  "title": "JSONata: Malicious inputs to \"$toMillis\" function can cause resource exhaustion",
  "vendor": "jsonata-js",
  "product": "jsonata",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-1333",
  "cpes": [
    "cpe:2.3:a:jsonata:jsonata:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "jsonata-js",
        "product": "jsonata",
        "ranges": [
          "\u003e= 2.0.0, \u003c 2.2.0",
          "\u003c 1.8.9"
        ],
        "fixed_in": [
          "2.2.0",
          "1.8.9"
        ]
      }
    ],
    "upgrade": [
      "Upgrade jsonata to 2.2.0 or 1.8.9 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/jsonata-js/jsonata/pull/782"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/jsonata-js/jsonata/pull/793"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/jsonata-js/jsonata/releases/tag/v1.8.9"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/jsonata-js/jsonata/releases/tag/v2.2.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
