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-33994

CVE-2026-33994: Locutus Prototype Pollution Vulnerability

CVE-2026-33994 is a prototype pollution vulnerability in Locutus affecting versions 2.0.39 to 3.0.24. Attackers can exploit the parse_str function by overriding RegExp.prototype.test to bypass security guards and pollute Object.prototype. This article covers technical details, affected versions, impact, and mitigation steps.

Published: April 2, 2026

CVE-2026-33994 Overview

CVE-2026-33994 is a prototype pollution vulnerability affecting the parse_str function in the Locutus npm package, a library that brings standard libraries of other programming languages to JavaScript for educational purposes. This vulnerability allows attackers to pollute Object.prototype by overriding RegExp.prototype.test and passing a crafted query string to parse_str, effectively bypassing the prototype pollution guard.

This vulnerability represents an incomplete fix for the previously patched CVE-2026-25521, where the original mitigation swapped one hijackable built-in method for another equally vulnerable approach.

Critical Impact

Attackers can bypass prototype pollution guards by exploiting the writable nature of RegExp.prototype.test, potentially leading to property injection, denial of service, or in some cases code execution depending on how the polluted properties are consumed by the application.

Affected Products

  • Locutus npm package versions 2.0.39 through 3.0.24
  • Applications using the parse_str function from affected Locutus versions
  • Node.js environments running vulnerable Locutus versions

Discovery Timeline

  • 2026-03-27 - CVE-2026-33994 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-33994

Vulnerability Analysis

This prototype pollution vulnerability exists within the parse_str function of the Locutus package. Prototype pollution is a JavaScript-specific vulnerability class where an attacker can modify the prototype of base objects like Object.prototype, affecting all objects that inherit from it throughout the application runtime.

The vulnerability stems from an incomplete security fix for the earlier CVE-2026-25521. The original patch attempted to prevent prototype pollution by replacing a String.prototype.includes()-based guard with a RegExp.prototype.test()-based guard. However, this fix introduced a new attack surface because RegExp.prototype.test is itself a writable prototype method that attackers can override before invoking the vulnerable function.

By first overriding RegExp.prototype.test to always return false (or a controlled value), an attacker can craft a malicious query string that bypasses the pollution guard entirely. This allows injection of arbitrary properties into Object.prototype, which can then propagate throughout the application's object hierarchy.

Root Cause

The root cause is the reliance on mutable JavaScript built-in prototype methods for security checks. The CVE-2026-25521 patch incorrectly assumed that replacing the String.prototype.includes() check with RegExp.prototype.test() would provide adequate protection. However, both methods exist on writable prototypes that can be tampered with by malicious code executing in the same JavaScript context.

This is a common pitfall in JavaScript security where developers trust built-in methods without accounting for JavaScript's dynamic nature that allows prototype modification.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker exploits this vulnerability by:

  1. First overriding RegExp.prototype.test to return a value that bypasses the prototype pollution guard
  2. Crafting a malicious query string containing prototype pollution payloads (e.g., __proto__[polluted]=true)
  3. Passing the crafted query string to the parse_str function
  4. The modified RegExp.prototype.test causes the guard check to fail, allowing the pollution to proceed

The attack complexity involves some prerequisites—specifically, the attacker needs the ability to execute JavaScript code that can modify RegExp.prototype.test before the parse_str call. This could occur in scenarios where user-controlled code runs in the same context, or through chained vulnerabilities.

Detection Methods for CVE-2026-33994

Indicators of Compromise

  • Unexpected modifications to Object.prototype or other base JavaScript object prototypes
  • Presence of unusual properties on objects that weren't explicitly defined (e.g., isAdmin, polluted)
  • Detection of attempts to override RegExp.prototype.test or similar built-in methods
  • Anomalous query string patterns containing __proto__, constructor, or prototype keywords

Detection Strategies

  • Implement static code analysis to identify usage of Locutus versions between 2.0.39 and 3.0.24
  • Deploy runtime monitoring to detect prototype modifications using Object.freeze() or property descriptor watchers
  • Use Software Composition Analysis (SCA) tools to identify vulnerable Locutus dependencies in your npm dependency tree
  • Monitor application logs for query strings containing prototype pollution indicators

Monitoring Recommendations

  • Enable verbose logging for input parsing functions to capture suspicious query string patterns
  • Implement integrity checks for critical JavaScript prototype chains at application startup and periodically during runtime
  • Set up dependency vulnerability scanning in CI/CD pipelines to catch vulnerable package versions before deployment
  • Monitor for npm audit warnings related to the Locutus package

How to Mitigate CVE-2026-33994

Immediate Actions Required

  • Upgrade the Locutus package to version 3.0.25 or later immediately
  • Audit all projects using npm to identify instances of vulnerable Locutus versions with npm ls locutus
  • Review application code for usage of the parse_str function and assess exposure
  • Consider implementing Object prototype freezing as an additional defense layer

Patch Information

The vulnerability has been addressed in Locutus version 3.0.25. The fix is available through the GitHub commit and detailed in the GitHub Security Advisory GHSA-vc8f-x9pp-wf5p. The patched version implements a more robust guard that does not rely on overridable prototype methods.

Additional technical details are available in GitHub Pull Request #597 and the v3.0.25 release notes.

Workarounds

  • If immediate upgrade is not possible, implement input validation to reject query strings containing __proto__, constructor, or prototype keywords before passing to parse_str
  • Freeze critical prototypes at application startup using Object.freeze(Object.prototype) and Object.freeze(RegExp.prototype) to prevent tampering
  • Replace usage of the vulnerable parse_str function with alternative query string parsing libraries that have robust prototype pollution protections
  • Isolate untrusted code execution in separate JavaScript contexts or worker threads to limit prototype pollution impact
bash
# Upgrade locutus to patched version
npm update locutus@3.0.25

# Verify installed version
npm ls locutus

# Audit for vulnerabilities
npm audit

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechLocutus

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-1321
  • Technical References
  • GitHub Pull Request #597

  • GitHub Release v3.0.25
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-vc8f-x9pp-wf5p
  • Related CVEs
  • CVE-2026-25521: Locutus Prototype Pollution Vulnerability

  • CVE-2026-33993: Locutus Locutus DOS Vulnerability

  • CVE-2026-32304: Locutus RCE Vulnerability

  • CVE-2026-29091: Locutus call_user_func_array RCE Flaw
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