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-2025-57319

CVE-2025-57319: fast-redact Prototype Pollution Vulnerability

CVE-2025-57319 is a prototype pollution vulnerability in fast-redact that can lead to denial of service attacks. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published: April 1, 2026

CVE-2025-57319 Overview

A Prototype Pollution vulnerability has been identified in the nestedRestore function of fast-redact, a popular npm package that provides very fast object redaction capabilities. This vulnerability allows attackers to inject properties on Object.prototype via a crafted payload, potentially causing denial of service (DoS) as the minimum consequence.

It is important to note that the supplier disputes this vulnerability, stating that the reporter only demonstrated access to properties by an internal utility function and that there is no means for achieving prototype pollution via the public API.

Critical Impact

Network-accessible prototype pollution vulnerability that can lead to denial of service, affecting applications using fast-redact version 3.5.0 and earlier versions.

Affected Products

  • fast-redact version 3.5.0
  • fast-redact versions prior to 3.5.0
  • Node.js applications utilizing vulnerable fast-redact versions

Discovery Timeline

  • 2025-09-24 - CVE CVE-2025-57319 published to NVD
  • 2025-09-26 - Last updated in NVD database

Technical Details for CVE-2025-57319

Vulnerability Analysis

This vulnerability is classified as a Prototype Pollution issue affecting the nestedRestore function within the fast-redact package. Prototype Pollution is a JavaScript-specific vulnerability that allows attackers to modify the prototype of base objects like Object.prototype, which can lead to property injection across all objects in the application.

In this case, the vulnerability exists in how the nestedRestore function handles user-supplied input. When processing specially crafted payloads, the function fails to properly validate object keys, allowing attackers to inject properties such as __proto__, constructor, or prototype that propagate to all JavaScript objects within the application context.

The exploitation of this vulnerability requires network access but does not require authentication or user interaction, making it potentially exploitable in automated attack scenarios against exposed applications.

Root Cause

The root cause of this vulnerability lies in insufficient input validation within the nestedRestore function. When processing nested object structures for redaction restoration, the function does not properly sanitize or validate property keys. This allows attackers to inject prototype-polluting keys (such as __proto__ or constructor.prototype) that modify the base Object.prototype, affecting all subsequent object instantiations and operations within the application.

The supplier disputes that this is exploitable via the public API, suggesting that while the internal nestedRestore function may be vulnerable, the attack surface may be limited in real-world applications that only interact with the package through its intended interface.

Attack Vector

The attack vector for CVE-2025-57319 is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by sending specially crafted JSON payloads to an application that processes user input through the vulnerable fast-redact functions.

The attack typically involves constructing a payload that contains malicious prototype-polluting keys within nested object structures. When processed by the vulnerable nestedRestore function, these keys pollute the JavaScript prototype chain.

For technical details and proof-of-concept implementation, refer to the GitHub PoC Repository and the GitHub Issue Discussion.

Detection Methods for CVE-2025-57319

Indicators of Compromise

  • Unusual properties appearing on JavaScript objects that were not explicitly defined
  • Application crashes or unexpected behavior related to object property access
  • Error logs indicating undefined behavior when accessing standard object methods
  • Requests containing suspicious payload patterns with __proto__, constructor, or prototype keys

Detection Strategies

  • Implement application-level logging to capture incoming request payloads and flag those containing prototype-polluting patterns
  • Deploy web application firewalls (WAF) with rules to detect JSON payloads containing __proto__, constructor.prototype, or similar prototype pollution patterns
  • Use static analysis tools (such as ESLint with security plugins) to scan codebases for vulnerable fast-redact versions
  • Monitor npm audit output and integrate dependency vulnerability scanning into CI/CD pipelines

Monitoring Recommendations

  • Enable verbose logging for applications using fast-redact to capture and analyze processed payloads
  • Set up alerts for application exceptions related to prototype or object manipulation errors
  • Monitor application behavior for signs of DoS conditions such as increased response times or resource exhaustion
  • Review server access logs for patterns consistent with prototype pollution exploitation attempts

How to Mitigate CVE-2025-57319

Immediate Actions Required

  • Audit your application's use of fast-redact to determine if the vulnerable nestedRestore function is accessible via your API
  • Review the GitHub Issue Discussion to understand the supplier's dispute and assess applicability to your use case
  • Implement input validation to sanitize object keys before passing data to fast-redact functions
  • Consider implementing Object.freeze on Object.prototype as a defense-in-depth measure

Patch Information

At the time of publication, the vendor disputes this vulnerability, claiming it is not exploitable via the public API. Organizations should monitor the fast-redact GitHub repository for any security updates or official patches. Until a patch is available, implement the workarounds described below to reduce risk.

Workarounds

  • Implement strict input validation to reject objects containing __proto__, constructor, or prototype keys before processing with fast-redact
  • Use Object.create(null) for creating objects that will be processed by fast-redact to prevent prototype chain pollution
  • Consider using alternative redaction libraries that have explicit prototype pollution protections
  • Deploy runtime protection mechanisms such as freezing Object.prototype at application startup
bash
# Configuration example - Input validation before fast-redact processing
# Add to your application's input handling middleware

# Example npm audit check for vulnerable packages
npm audit --audit-level=high

# Check installed fast-redact version
npm list fast-redact

# If vulnerable version detected, consider pinning to a safe version when available
npm update fast-redact

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechFast Redact

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • Technical References
  • GitHub PoC Script

  • GitHub CVE-2025-57319 Repository

  • GitHub Issue Discussion
  • Latest CVEs
  • CVE-2025-11419: Keycloak TLS DoS Vulnerability

  • CVE-2025-13947: WebKitGTK Information Disclosure Flaw

  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan 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