Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2023-36665

CVE-2023-36665: Protobufjs Prototype Pollution Vulnerability

CVE-2023-36665 is a prototype pollution vulnerability in Protobufjs that allows attackers to modify Object.prototype through malicious protobuf messages. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-36665 Overview

protobuf.js (aka protobufjs) versions 6.10.0 through 7.x before 7.2.5 are vulnerable to Prototype Pollution, a distinct vulnerability from CVE-2022-25878. This vulnerability allows an attacker to use a user-controlled protobuf message to pollute the prototype of Object.prototype by adding and overwriting its data and functions. Exploitation can occur through multiple attack vectors: (1) using the parse function to parse protobuf messages on the fly, (2) loading .proto files by using load/loadSync functions, or (3) providing untrusted input to the functions ReflectionObject.setParsedOption and util.setProperty.

Critical Impact

This Prototype Pollution vulnerability enables attackers to manipulate JavaScript object prototypes, potentially leading to remote code execution, denial of service, or security bypass in applications using vulnerable protobuf.js versions.

Affected Products

  • protobuf.js versions 6.10.0 through 7.2.4 (Node.js)
  • Applications using vulnerable protobufjs_project protobufjs packages
  • Systems processing untrusted protobuf messages or .proto files

Discovery Timeline

  • July 5, 2023 - CVE-2023-36665 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-36665

Vulnerability Analysis

This Prototype Pollution vulnerability exists in protobuf.js due to insufficient validation of property paths in the util.setProperty function. The function allows setting nested object properties based on a path string, but prior to the fix, it only blocked the __proto__ property while failing to block the prototype property. This incomplete safeguard allows attackers to pollute the prototype chain of JavaScript objects.

Prototype Pollution is particularly dangerous in Node.js environments because modifications to Object.prototype affect all objects in the application, potentially enabling attackers to inject malicious properties that get inherited by security-critical objects. The vulnerability can be triggered through three distinct code paths: parsing protobuf messages dynamically, loading .proto definition files, or directly calling the vulnerable utility functions with attacker-controlled input.

Root Cause

The root cause lies in the util.setProperty function in src/util.js, which implemented an incomplete blocklist for dangerous property names. While the original code prevented setting __proto__ (the legacy prototype accessor), it failed to block prototype (the constructor prototype property). Both properties can be used to achieve prototype pollution in JavaScript, making the mitigation insufficient.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by sending a maliciously crafted protobuf message or .proto file to an application that processes untrusted input using protobuf.js. The attacker includes specially crafted field names or options that, when processed by the vulnerable functions, write properties to Object.prototype.

javascript
 util.setProperty = function setProperty(dst, path, value) {
     function setProp(dst, path, value) {
         var part = path.shift();
-        if (part === "__proto__") {
+        if (part === "__proto__" || part === "prototype") {
           return dst;
         }
         if (path.length > 0) {

Source: GitHub Commit e66379f

The security patch adds prototype to the blocklist alongside __proto__, preventing both known vectors for prototype pollution attacks.

Detection Methods for CVE-2023-36665

Indicators of Compromise

  • Unexpected properties appearing on Object.prototype in application memory
  • Application behavior anomalies after processing protobuf messages from untrusted sources
  • Error logs indicating property access on unexpected prototype chain elements
  • Signs of prototype pollution attacks such as authentication bypasses or unauthorized data access

Detection Strategies

  • Audit package.json and package-lock.json files for protobufjs versions between 6.10.0 and 7.2.4
  • Use software composition analysis (SCA) tools to scan for vulnerable protobuf.js dependencies
  • Implement runtime monitoring to detect modifications to Object.prototype
  • Review application logs for suspicious protobuf message processing errors

Monitoring Recommendations

  • Monitor for unexpected application behavior after protobuf message processing
  • Implement integrity checks on Object.prototype in security-sensitive applications
  • Enable detailed logging for protobuf parsing operations in production environments
  • Use Node.js security modules that can detect prototype pollution attempts

How to Mitigate CVE-2023-36665

Immediate Actions Required

  • Upgrade protobuf.js to version 7.2.5 or later immediately
  • Audit applications to identify all instances of protobuf.js usage
  • Review code paths that process untrusted protobuf messages or load external .proto files
  • Consider implementing Object.freeze on Object.prototype as a defense-in-depth measure

Patch Information

The vulnerability is fixed in protobuf.js version 7.2.5. The fix adds prototype to the blocklist in the util.setProperty function, preventing attackers from using either __proto__ or prototype to pollute the object prototype chain. Organizations should update to the patched version through their package manager.

For detailed patch information, see the GitHub Pull Request #1899 and the version comparison between 7.2.3 and 7.2.4.

Workarounds

  • Avoid processing protobuf messages or .proto files from untrusted sources until patched
  • Implement input validation to reject protobuf content containing suspicious property paths
  • Use Object.freeze(Object.prototype) at application startup as a temporary mitigation
  • Isolate protobuf processing in sandboxed environments with limited privileges
bash
# Update protobuf.js to the patched version
npm update protobufjs@latest

# Verify installed version is 7.2.5 or later
npm list protobufjs

# Alternative: Pin to specific patched version
npm install protobufjs@7.2.5

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechProtobufjs

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability1.67%

  • 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 v7.2.4

  • NetApp Security Advisory
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Version Comparison

  • GitHub Pull Request Discussion

  • Code Intelligence Blog CVE Analysis
  • Related CVEs
  • CVE-2022-25878: Protobufjs Prototype Pollution Vulnerability

  • CVE-2026-41242: Protobufjs RCE 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