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

CVE-2026-25047: deepHas npm Prototype Pollution Flaw

CVE-2026-25047 is a prototype pollution vulnerability in the deepHas npm package that allows attackers to modify global object behavior. This post covers technical details, affected versions, impact, and mitigation.

Published: January 29, 2026

CVE-2026-25047 Overview

A critical prototype pollution vulnerability has been identified in the deephas npm package, a utility library that provides a test for the existence of nested object keys and optionally returns that key. This vulnerability exists in version 1.0.7 of the package and allows an attacker to modify global object behavior through prototype pollution.

Prototype pollution is a JavaScript-specific vulnerability that enables attackers to inject properties into existing JavaScript object prototypes. When exploited, this can lead to widespread application compromise, as polluted properties become accessible to all objects inheriting from the affected prototype.

Critical Impact

Attackers can manipulate the global Object prototype, potentially leading to remote code execution, denial of service, or authentication bypass depending on how the application uses the affected library.

Affected Products

  • deephas npm package version 1.0.7

Discovery Timeline

  • 2026-01-29 - CVE CVE-2026-25047 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2026-25047

Vulnerability Analysis

The prototype pollution vulnerability in deephas version 1.0.7 occurs due to insufficient input validation when processing nested object key paths. The library failed to properly sanitize user-controlled input, specifically allowing the __proto__ property to be accessed and modified through the key path string. This is classified under CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes).

When an attacker provides a malicious string containing __proto__ as part of the key path, they can inject arbitrary properties into the base Object prototype. These injected properties then propagate to all objects in the JavaScript runtime that inherit from Object.prototype, which includes virtually every object in a typical Node.js application.

Root Cause

The root cause of this vulnerability lies in the string parsing logic used to traverse nested object paths. The original implementation used JavaScript's native split('.') method to parse dot-separated key paths without validating whether any segment of the path references the __proto__ property. This oversight allowed attackers to craft malicious input strings that could traverse and pollute the prototype chain.

Attack Vector

The attack vector requires local access, where an attacker can provide specially crafted input to the deephas functions. By passing a string containing __proto__ segments in the key path, an attacker can inject malicious properties into the global Object prototype. This pollution can then be leveraged to:

  1. Override application configuration values
  2. Bypass security checks that rely on property existence
  3. Inject malicious functions or values that get executed elsewhere in the application
  4. Cause denial of service by corrupting critical object properties

The following patch demonstrates how the vulnerability was addressed in version 1.0.8:

javascript
 
}
 
+function splitOnDot(str) {
+  var result = [];
+  var current = "";
+  var i = 0;
+
+  while (i < str.length) {
+    if (str[i] === ".") {
+      result[result.length] = current;
+      current = "";
+    } else {
+      current = current + str[i];
+    }
+    i = i + 1;
+  }
+
+  result[result.length] = current;
+  return result;
+}
+
function add(obj, str, val) {
    "use strict";
    try {
+        var items = splitOnDot(str);
        if (typeof str !== "string") {
            return;
        }
-        if (str.indexOf('__proto__') != -1) {

Source: GitHub Commit Update

Detection Methods for CVE-2026-25047

Indicators of Compromise

  • Unexpected properties appearing on Object.prototype in your application
  • Application behavior changes that suggest modified global object defaults
  • Log entries showing access patterns with __proto__ or constructor.prototype in request parameters

Detection Strategies

  • Audit your package.json and package-lock.json files for deephas version 1.0.7 or earlier
  • Use npm audit or Snyk to scan for vulnerable dependency versions
  • Implement runtime monitoring for Object.prototype modifications using Object.freeze() on critical prototypes
  • Review application logs for suspicious input patterns containing prototype pollution markers

Monitoring Recommendations

  • Monitor for unusual object property access patterns in application telemetry
  • Set up alerts for dependency vulnerability notifications through npm or GitHub Dependabot
  • Implement Content Security Policy headers to limit the impact of potential code injection

How to Mitigate CVE-2026-25047

Immediate Actions Required

  • Upgrade the deephas npm package to version 1.0.8 or later immediately
  • Run npm audit fix to automatically resolve vulnerable dependency versions
  • Review application code for any direct usage of deephas functions with untrusted input
  • Consider implementing input validation at the application layer as defense-in-depth

Patch Information

The vulnerability has been addressed in deephas version 1.0.8. The fix implements a custom string splitting function with proper validation to prevent prototype pollution. Detailed patch information is available in the GitHub Security Advisory GHSA-2733 and the GitHub Commit Update.

Workarounds

  • If immediate upgrade is not possible, implement input sanitization to filter out __proto__, constructor, and prototype from user-controlled key paths
  • Use Object.freeze(Object.prototype) early in application initialization to prevent prototype modifications
  • Consider replacing deephas with alternative libraries that have built-in prototype pollution protection
bash
# Configuration example
# Upgrade deephas to patched version
npm update deephas

# Verify installed version
npm list deephas

# Run security audit
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/TechDeephas

  • SeverityCRITICAL

  • CVSS Score9.4

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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
  • AvailabilityHigh
  • CWE References
  • CWE-1321
  • Technical References
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-2733
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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