CVE-2026-52746 json
JSONata: Malicious inputs to "$toMillis" function can cause resource exhaustion
published 5mo ago modified 18d ago also EUVD-2026-45253 , GHSA-86vw-mfpg-wwv9
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm jsonata 1.8.9, 2.2.0
- jsonata jsonata 1.8.9, 2.2.0
- github.com/jsonata-js/jsonata@80ba95d commit
- github.com/jsonata-js/jsonata@d6ffc17 commit
- github.com/jsonata-js/jsonata#782 pull request
- github.com/jsonata-js/jsonata#793 pull request
- github.com/jsonata-js/jsonata/releases/tag/v1.8.9 release
- github.com/jsonata-js/jsonata/releases/tag/v2.2.0 release
- github.com/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9 advisory
Is CVE-2026-52746 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-52746 updated cvss 7.5
jsonata: JSONata: Denial of Service via malicious input to $toMillis function
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.69% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jsonata | >=2.0.0, <2.2.0 <1.8.9 |
2.2.0 1.8.9 |
Affected products
- jsonata-js jsonata
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/jsonata-js/jsonata/pull/782
web, issue-tracking, patch
-
github.com
/jsonata-js/jsonata/pull/793
web, issue-tracking, patch
-
github.com
/jsonata-js/jsonata/commit/80ba95d170f74e3f20f4f36b8b77d8c85cea7686
web, patch
-
github.com
/jsonata-js/jsonata/commit/d6ffc17cb16a8e53c222205bd274624e919cce0b
web, patch
-
github.com
/jsonata-js/jsonata/security/advisories/GHSA-86vw-mfpg-wwv9
web, patch, vendor-advisory, advisory
-
github.com
/jsonata-js/jsonata/releases/tag/v1.8.9
web
-
github.com
/jsonata-js/jsonata/releases/tag/v2.2.0
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-52746
advisory
-
github.com
/jsonata-js/jsonata
package
Sources
- CVE List CVE-2026-52746
- GitHub Advisory GHSA-86vw-mfpg-wwv9
- NVD CVE-2026-52746
- Maintainer advisory GHSA-86vw-mfpg-wwv9
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of jsonata-js/jsonata published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.