Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-86vw-mfpg-wwv9: jsonata: Malicious inputs to "$toMillis" function can cause resource exhaustion

0
High
Published: 07/02/2026 (07/02/2026, 20:13:55 UTC)
Source: GCVE Database
Product: jsonata

Description

A vulnerability in JSONata versions prior to 2.2.0 allows crafted inputs to the $toMillis function to trigger superlinear backtracking in the ISO-8601 validation regex, causing resource exhaustion and potential denial of service. This issue has been fixed in JSONata version 2.2.0 and later. Applications that evaluate user-provided JSONata expressions should update to prevent exploitation.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

npmghsa
jsonata
Affected versions
<2.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 23:09:43 UTC

Technical Analysis

In JSONata versions before 2.2.0, the $toMillis function's ISO-8601 validation regex can be exploited by maliciously crafted inputs that do not match expected patterns, causing superlinear backtracking. This results in excessive CPU consumption leading to denial of service in applications processing user-supplied JSONata expressions. The vulnerability is tracked as CVE-2026-52746 and has been addressed in version 2.2.0 with patches that optimize the regex evaluation.

Potential Impact

Exploitation of this vulnerability can cause denial of service due to resource exhaustion (high impact on availability) in applications that evaluate user-provided JSONata expressions using affected versions. There is no impact on confidentiality or integrity.

Mitigation Recommendations

A fix is available in JSONata version 2.2.0 and later. Users should update to version 2.2.0 or newer to remediate this vulnerability. No additional mitigations are specified by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-86vw-mfpg-wwv9
Osv Schema Version
1.4.0
Aliases
["CVE-2026-52746"]
Ecosystems
["npm"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a46ecb527e9c7971943c8a1

Added to database: 07/02/2026, 22:56:53 UTC

Last enriched: 07/02/2026, 23:09:43 UTC

Last updated: 07/03/2026, 03:35:33 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses