A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-27307

CVE-2024-27307: JSONata RCE Vulnerability

CVE-2024-27307 is a remote code execution flaw in JSONata that allows attackers to override Object constructor properties through malicious expressions. This article covers technical details, affected versions, and patches.

Published: April 8, 2026

CVE-2024-27307 Overview

CVE-2024-27307 is a prototype pollution vulnerability in JSONata, a JSON query and transformation language. Starting in version 1.4.0 and prior to versions 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 vulnerability may lead to denial of service, remote code execution, or other unexpected behavior in applications that evaluate user-provided JSONata expressions.

Critical Impact

Applications that allow user-provided JSONata expressions are at risk of remote code execution, denial of service, and prototype pollution attacks that could compromise the entire JavaScript runtime environment.

Affected Products

  • JSONata versions 1.4.0 through 1.8.6
  • JSONata versions 2.0.0 through 2.0.3
  • Any application that evaluates user-provided JSONata expressions using vulnerable versions

Discovery Timeline

  • March 6, 2024 - CVE-2024-27307 published to NVD
  • December 4, 2025 - Last updated in NVD database

Technical Details for CVE-2024-27307

Vulnerability Analysis

This vulnerability is classified as CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes), commonly known as Prototype Pollution. The flaw resides in JSONata's transform operator, which can be abused to modify the prototype chain of JavaScript's base Object constructor.

When an application evaluates user-controlled JSONata expressions, an attacker can craft malicious input that pollutes the Object.prototype. This pollution affects all JavaScript objects in the application's runtime, potentially leading to:

  • Denial of Service: By corrupting fundamental object properties, the application's normal operation can be disrupted
  • Remote Code Execution: In certain contexts, prototype pollution can be chained with other application logic to achieve arbitrary code execution
  • Security Bypass: Polluted prototypes can modify authentication or authorization checks that rely on object property lookups

Root Cause

The root cause lies in insufficient input validation within the transform operator implementation. The operator fails to properly restrict modifications to sensitive object properties such as __proto__, constructor, and prototype. When processing user-provided expressions, the transform operator allows direct manipulation of these dangerous properties, enabling attackers to inject malicious values into the prototype chain.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction, making it highly exploitable. An attacker can exploit this vulnerability by submitting a crafted JSONata expression to any endpoint or application feature that evaluates user-provided expressions.

The transform operator in JSONata allows modification of JSON objects during query execution. By targeting the __proto__ or constructor.prototype properties within a transform expression, attackers can inject arbitrary properties into the base Object prototype that will be inherited by all objects in the JavaScript runtime.

Detection Methods for CVE-2024-27307

Indicators of Compromise

  • Unusual JSONata expressions containing references to __proto__, constructor, or prototype keywords
  • Application errors or unexpected behavior following evaluation of user-provided expressions
  • Evidence of object property pollution in application logs or monitoring systems
  • Unexplained denial of service conditions in Node.js applications using JSONata

Detection Strategies

  • Implement input validation to detect and block JSONata expressions containing prototype-related keywords
  • Monitor application logs for evaluation errors or stack traces related to JSONata processing
  • Deploy static analysis tools to identify instances where user input is passed directly to JSONata evaluation functions
  • Use runtime application self-protection (RASP) solutions to detect prototype pollution attempts

Monitoring Recommendations

  • Enable verbose logging for JSONata expression evaluation in production environments
  • Configure alerts for expressions containing suspicious patterns like __proto__ or constructor
  • Monitor for unusual application behavior such as unexpected property values on standard objects
  • Implement audit logging for all user-provided JSONata expressions before evaluation

How to Mitigate CVE-2024-27307

Immediate Actions Required

  • Update JSONata to version 1.8.7 or 2.0.4 immediately
  • Audit all application code to identify locations where user-provided JSONata expressions are evaluated
  • Implement input validation to reject expressions containing dangerous keywords until patching is complete
  • Consider disabling user-provided expression evaluation temporarily if immediate patching is not possible

Patch Information

The JSONata maintainers have released patched versions that address this prototype pollution vulnerability. Applications should upgrade to:

  • Version 1.8.7 for the 1.x branch
  • Version 2.0.4 for the 2.x branch

Multiple commits have been published to address this vulnerability:

  • Commit 1d579dbe
  • Commit 335d38f6
  • Commit c907b5e5

For additional details, refer to the GitHub Security Advisory GHSA-fqg8-vfv7-8fj8.

Workarounds

  • Apply the security patches manually from the referenced commits if immediate version upgrade is not feasible
  • Implement a sanitization layer that rejects JSONata expressions containing __proto__, constructor, or prototype strings
  • Use Object.freeze() on Object.prototype as a defense-in-depth measure, though this may cause compatibility issues
  • Isolate JSONata evaluation in a separate sandboxed context or worker process to limit the impact of prototype pollution
bash
# Update JSONata to patched version
npm update jsonata@1.8.7  # For 1.x branch
npm update jsonata@2.0.4  # For 2.x branch

# Verify installed version
npm list jsonata

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechJsonata

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.89%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1321
  • Technical References
  • GitHub Release v2.0.4
  • Vendor Resources
  • GitHub Commit Update 1d579dbe

  • GitHub Commit Update 335d38f6

  • GitHub Commit Update c907b5e5

  • GitHub Security Advisory GHSA-fqg8-vfv7-8fj8
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English