CVE-2024-27307
CWE-1321Published: March 6, 2024· Updated: Jun 17, 2026
Official Description
JSONata is a JSON query and transformation language. Starting in version 1.4.0 and prior to version 1.8.7 and 2.0.4, a malicious expression can use the transform operator to override properties on the `Object` constructor and prototype. This may lead to denial of service, remote code execution or other unexpected behavior in applications that evaluate user-provided JSONata expressions. This issue has been fixed in JSONata versions 1.8.7 and 2.0.4. Applications that evaluate user-provided expressions should update ASAP to prevent exploitation. As a workaround, one may apply the patch manually.
Risk Analysis
JSONata versions prior to 1.8.7 and 2.0.4 allow malicious expressions to override Object constructors, potentially leading to remote code execution. This critical flaw is remotely exploitable and carries a CVSS score of 9.8. There is no evidence of active exploitation.
No public exploit is known for this vulnerability, and it is not in the CISA KEV.
Update JSONata to version 1.8.7 or 2.0.4, or apply the manual patch provided by the vendor.
Technical Analysis
CVE-2024-27307 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (10)
Quick Facts
Related CVEs (CWE-1321)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2024-27307 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts