The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2026-29091

CVE-2026-29091: Locutus call_user_func_array RCE Flaw

CVE-2026-29091 is a remote code execution vulnerability in Locutus affecting the call_user_func_array function. Attackers can inject arbitrary JavaScript code into the runtime environment. This article covers technical details, affected versions, impact, and mitigation steps.

Published: March 13, 2026

CVE-2026-29091 Overview

A remote code execution (RCE) vulnerability has been discovered in the Locutus project, a JavaScript library that brings standard library functions from other programming languages to JavaScript for educational purposes. The vulnerability exists within the call_user_func_array function implementation, which fails to properly validate callback array components before passing them to eval(). This allows attackers to inject arbitrary JavaScript code into the application's runtime environment.

Critical Impact

Attackers can achieve remote code execution by exploiting insecure input validation in the call_user_func_array function, potentially leading to full system compromise in affected applications.

Affected Products

  • Locutus versions prior to 3.0.0

Discovery Timeline

  • 2026-03-06 - CVE CVE-2026-29091 published to NVD
  • 2026-03-09 - Last updated in NVD database

Technical Details for CVE-2026-29091

Vulnerability Analysis

This vulnerability is classified as CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code, commonly known as "Eval Injection"). The flaw originates from the call_user_func_array function and its wrapper call_user_func, which are designed to emulate PHP's callback functionality in JavaScript.

The insecure implementation accepts user-controlled input as part of a callback array structure. Before invoking the callback, the function passes these components through JavaScript's eval() function without adequate validation or sanitization. This creates a direct code injection pathway where malicious payloads embedded in the callback array are executed within the application's runtime context.

The attack can be conducted remotely over the network, though the attack complexity is considered high as it requires specific conditions to be met for successful exploitation. No privileges or user interaction are required to exploit this vulnerability, and successful exploitation can result in complete compromise of confidentiality, integrity, and availability of the affected system.

Root Cause

The root cause of this vulnerability is improper input validation in the call_user_func_array function implementation. The function accepts callback arrays that include user-controlled components and fails to sanitize or validate these inputs before passing them to eval(). This allows attackers to craft malicious callback arrays containing JavaScript code that gets executed in the application context.

Attack Vector

The attack vector is network-based, meaning an attacker can exploit this vulnerability remotely without requiring local access to the target system. The exploitation involves sending specially crafted callback arrays to the vulnerable function. When the application processes these arrays, the embedded malicious code is passed to eval() and executed with the same privileges as the application.

The patch for this vulnerability was implemented as part of a complete TypeScript migration of all source files, which included security hardening. The commit shows changes to the project's configuration to support the TypeScript migration:

text
       "!**/*.html",
       "!index.d.ts",
       "!test/generated",
+      "!test/util/type-contracts.generated.d.ts",
       "!website",
       "!dist",
       "!node_modules",
       "!.yarn",
       "!src/php/_helpers/_bc.js",
+      "!src/php/_helpers/_bc.ts",
       "!src/php/bc"
     ]
   },

Source: GitHub Commit

Detection Methods for CVE-2026-29091

Indicators of Compromise

  • Unexpected JavaScript execution or process spawning from applications using Locutus
  • Anomalous network connections initiated by Node.js or browser-based applications utilizing the vulnerable library
  • Application logs showing unusual callback array structures with embedded code patterns
  • Error messages related to eval execution with unexpected input strings

Detection Strategies

  • Monitor application dependencies for Locutus versions below 3.0.0 using software composition analysis (SCA) tools
  • Implement runtime application self-protection (RASP) to detect and block eval-based code injection attempts
  • Review application logs for suspicious callback patterns that may indicate exploitation attempts
  • Deploy static application security testing (SAST) tools to identify vulnerable function usage patterns

Monitoring Recommendations

  • Enable verbose logging for applications using Locutus to capture callback function invocations
  • Implement network-level monitoring for unusual outbound connections from affected applications
  • Set up alerts for process creation events that may indicate successful code execution
  • Monitor for unexpected file system modifications in application directories

How to Mitigate CVE-2026-29091

Immediate Actions Required

  • Upgrade Locutus to version 3.0.0 or later immediately
  • Audit applications to identify all instances where call_user_func_array or call_user_func functions are used
  • If immediate upgrade is not possible, implement input validation for all callback array parameters
  • Consider removing or isolating Locutus functionality until patching is complete

Patch Information

This vulnerability has been patched in Locutus version 3.0.0. The fix was implemented as part of a comprehensive TypeScript migration (commit 977a1fb169441e35996a1d2465b512322de500ad). Users should upgrade to version 3.0.0 or later to remediate this vulnerability.

For more details, refer to the GitHub Security Advisory and the commit containing the fix.

Workarounds

  • Avoid using call_user_func_array and call_user_func functions with user-controlled input until the patch is applied
  • Implement strict input validation and sanitization for any data passed to callback functions
  • Consider using Content Security Policy (CSP) headers to restrict script execution in web applications
  • Deploy a web application firewall (WAF) with rules to detect and block code injection patterns
bash
# Update Locutus to patched version
npm update locutus@^3.0.0

# Verify installed version
npm list locutus

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLocutus

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-95
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-32304: Locutus RCE Vulnerability

  • CVE-2026-33994: Locutus Prototype Pollution Vulnerability

  • CVE-2026-33993: Locutus Locutus DOS Vulnerability

  • CVE-2026-25521: Locutus Prototype Pollution Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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