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-2020-15256

CVE-2020-15256: Object-path Prototype Pollution Vulnerability

CVE-2020-15256 is a prototype pollution vulnerability in Object-path affecting the set() method in versions <= 0.11.4. This article covers the technical details, affected configurations, security impact, and mitigation strategies.

Published: March 4, 2026

CVE-2020-15256 Overview

A prototype pollution vulnerability has been discovered in the object-path Node.js package affecting versions up to and including 0.11.4. This vulnerability specifically impacts the set() method and can allow attackers to modify the prototype of base objects, potentially leading to remote code execution, denial of service, or other security compromises in applications that utilize this library.

Critical Impact

Attackers can exploit this prototype pollution vulnerability to inject malicious properties into JavaScript object prototypes, potentially compromising the entire application's execution context and enabling remote code execution.

Affected Products

  • object-path versions <= 0.11.4 (all set() usage is vulnerable in versions < 0.11.0)
  • object-path versions >= 0.11.0 to <= 0.11.4 when using includeInheritedProps: true option
  • Applications using the withInheritedProps instance

Discovery Timeline

  • 2020-10-19 - CVE-2020-15256 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-15256

Vulnerability Analysis

This prototype pollution vulnerability affects the set() method in the object-path library, a popular Node.js package used for accessing and manipulating deep object properties using path notation. The vulnerability allows an attacker to pollute JavaScript object prototypes by setting values on special properties like __proto__ or constructor.

In JavaScript, prototype pollution occurs when an attacker can modify the prototype of a base object, which then affects all objects that inherit from that prototype. This can lead to property injection, denial of service, or even remote code execution depending on how the polluted properties are used by the application.

The vulnerability is limited to specific configurations in versions >= 0.11.0. The includeInheritedProps mode must be explicitly enabled by creating a new instance of object-path with the option includeInheritedProps: true, or by using the default withInheritedProps instance. However, any usage of set() in versions < 0.11.0 is vulnerable regardless of configuration.

Root Cause

The root cause of this vulnerability is insufficient input validation in the set() method when handling property paths. The function failed to block access to JavaScript's magic properties (__proto__ and constructor) that provide access to object prototypes. When the includeInheritedProps option is enabled, attackers could traverse to these special properties and modify them, polluting the prototype chain.

Attack Vector

This vulnerability is exploitable over the network without requiring authentication or user interaction. An attacker can craft a malicious path parameter to the set() method that targets the __proto__ or constructor properties. When the vulnerable code processes this input, it modifies the prototype of the base Object, potentially affecting all objects in the application.

The attack requires the application to:

  1. Use object-path version <= 0.11.4
  2. Either use a version < 0.11.0, OR have includeInheritedProps: true enabled, OR use the withInheritedProps instance
  3. Pass attacker-controlled input to the set() method's path parameter
javascript
       }
       var currentPath = path[0];
       var currentValue = getShallowProperty(obj, currentPath);
+      if (options.includeInheritedProps && (currentPath === '__proto__' ||
+        (currentPath === 'constructor' && typeof currentValue === 'function'))) {
+        throw new Error('For security reasons, object\'s magic properties cannot be set')
+      }
       if (path.length === 1) {
         if (currentValue === void 0 || !doNotReplace) {
           obj[currentPath] = value;

Source: GitHub Commit

The patch adds explicit checks to block setting values on __proto__ and constructor properties when includeInheritedProps mode is active, throwing a security error instead.

Detection Methods for CVE-2020-15256

Indicators of Compromise

  • Unexpected properties appearing on Object.prototype or other base prototypes
  • Application behavior anomalies caused by polluted prototype properties
  • Error logs showing attempts to access __proto__ or constructor paths through object-path
  • Suspicious input patterns containing __proto__, constructor, or prototype in request parameters

Detection Strategies

  • Implement static code analysis to identify usage of object-path library and check for vulnerable versions
  • Use software composition analysis (SCA) tools to detect vulnerable object-path dependencies in package.json or package-lock.json
  • Monitor application logs for unusual property access patterns involving prototype-related keywords
  • Deploy runtime application self-protection (RASP) solutions to detect prototype pollution attempts

Monitoring Recommendations

  • Enable verbose logging for input validation failures in Node.js applications
  • Monitor for anomalous object property assignments in application telemetry
  • Set up alerts for dependency vulnerability notifications from npm audit or similar tools
  • Implement application performance monitoring to detect unexpected behavior changes that could indicate prototype pollution

How to Mitigate CVE-2020-15256

Immediate Actions Required

  • Upgrade object-path to version 0.11.5 or later immediately
  • Audit application code to identify all usages of the set() method with object-path
  • If using versions >= 0.11.0, disable the includeInheritedProps option if not strictly required
  • Avoid using the withInheritedProps instance unless absolutely necessary
  • Run npm audit to identify any other vulnerable dependencies

Patch Information

The vulnerability has been fixed in object-path version 0.11.5. The patch introduces validation logic that explicitly blocks attempts to set values on __proto__ and constructor properties when the includeInheritedProps mode is enabled. Users should update their dependencies by running npm update object-path or explicitly setting the version in package.json to >=0.11.5. For additional details, see the GitHub Security Advisory.

Workarounds

  • Avoid using the includeInheritedProps: true option when creating object-path instances
  • Do not use the withInheritedProps instance if running a version >= 0.11.0
  • Implement input validation to sanitize paths before passing them to set(), blocking __proto__, constructor, and prototype
  • Consider using alternative libraries with built-in prototype pollution protections
bash
# Configuration example
# Update object-path to the patched version
npm install object-path@0.11.5

# Or update package.json dependency
# "object-path": ">=0.11.5"

# Audit for vulnerable dependencies
npm audit

# Fix vulnerabilities automatically where possible
npm audit fix

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechObject Path

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.18%

  • 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-20

  • NVD-CWE-Other
  • Technical References
  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Change
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS 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