A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2026-25754

CVE-2026-25754: Adonisjs Bodyparser RCE Vulnerability

CVE-2026-25754 is a prototype pollution vulnerability in Adonisjs Bodyparser that enables remote code execution through multipart form-data parsing. This article covers technical details, affected versions, and mitigation.

Updated: May 14, 2026

CVE-2026-25754 Overview

CVE-2026-25754 is a prototype pollution vulnerability in the AdonisJS bodyparser package, a multipart form-data parser used by the AdonisJS TypeScript-first web framework. Remote attackers can manipulate JavaScript object prototypes at runtime by submitting crafted multipart form-data payloads to vulnerable endpoints. The flaw affects bodyparser versions prior to 10.1.3 and 11.0.0-next.9, and is tracked under [CWE-1321] (Improperly Controlled Modification of Object Prototype Attributes).

The vulnerability requires no authentication and no user interaction. Exploitation can alter application logic, bypass security controls, or enable secondary attacks such as denial of service or code execution depending on downstream usage of polluted properties.

Critical Impact

Unauthenticated remote attackers can pollute Object.prototype through multipart form-data requests, potentially altering runtime behavior of every AdonisJS application object.

Affected Products

  • AdonisJS bodyparser versions prior to 10.1.3
  • AdonisJS bodyparser11.0.0-next.1 through 11.0.0-next.8
  • AdonisJS core applications relying on the vulnerable bodyparser package

Discovery Timeline

  • 2026-02-06 - CVE-2026-25754 published to NVD
  • 2026-03-17 - Last updated in NVD database

Technical Details for CVE-2026-25754

Vulnerability Analysis

The vulnerability resides in how the AdonisJS bodyparser package processes multipart form-data fields and merges them into JavaScript objects. When the parser encounters specially crafted field names referencing prototype-controlling keys such as __proto__, constructor, or prototype, it assigns attacker-controlled values directly onto the base Object.prototype rather than the intended request body object.

Because every JavaScript object inherits from Object.prototype, polluted properties become globally readable across the running Node.js process. Subsequent code paths that perform property lookups against untrusted keys can read attacker-supplied values, leading to authorization bypasses, configuration tampering, or logic corruption. The attack vector is network-based and requires no privileges.

Root Cause

The root cause is a recursive object-merge routine in the form-data parser that fails to sanitize or block dangerous property names before assignment. Without an allow-list or explicit Object.create(null) target, the parser walks keys such as __proto__.polluted=1 and writes to the prototype chain. The patch, applied in commit 40e1c71f958cffb74f6b91bed6630dca979062ed, filters these reserved keys during multipart parsing.

Attack Vector

An attacker sends an HTTP POST request with Content-Type: multipart/form-data to any AdonisJS endpoint that accepts request bodies. The crafted form fields use nested key notation targeting __proto__ or constructor.prototype. Once parsed, the injected properties persist on Object.prototype for the lifetime of the Node.js worker, affecting all concurrent and subsequent requests.

No authentication is required and the attack scope is changed, meaning impact extends beyond the vulnerable component into other parts of the application runtime. Refer to the GitHub Security Advisory GHSA-f5x2-vj4h-vg4c for technical details on the affected parsing logic.

Detection Methods for CVE-2026-25754

Indicators of Compromise

  • Multipart form-data requests containing field names with __proto__, constructor, or prototype substrings in the Content-Disposition header.
  • Unexpected properties appearing on objects across unrelated request handlers or background jobs.
  • Application errors or anomalous behavior immediately following parsing of untrusted multipart payloads.

Detection Strategies

  • Inspect HTTP request bodies and form-field names at the web application firewall (WAF) or reverse proxy for prototype-pollution payload signatures.
  • Audit installed @adonisjs/bodyparser versions across Node.js deployments and flag versions earlier than 10.1.3 or 11.0.0-next.9.
  • Add runtime sentinels that read properties such as ({}).polluted at health-check intervals to identify a polluted prototype.

Monitoring Recommendations

  • Forward Node.js application logs and reverse-proxy access logs to a centralized analytics platform for query-driven hunting on prototype-pollution patterns.
  • Alert on multipart requests where field names contain [__proto__], [constructor][prototype], or URL-encoded equivalents.
  • Monitor process restart frequency and unexpected exception rates that may indicate exploited prototype tampering.

How to Mitigate CVE-2026-25754

Immediate Actions Required

  • Upgrade @adonisjs/bodyparser to version 10.1.3 for the stable branch or 11.0.0-next.9 for the next branch.
  • Audit the dependency tree with npm ls @adonisjs/bodyparser and rebuild deployment artifacts after upgrading.
  • Restart all Node.js workers to discard any prototype state potentially polluted before patching.

Patch Information

The maintainers fixed the issue in commit 40e1c71f, released as part of v11.0.0-next.9 and version 10.1.3. The patch rejects multipart fields that target prototype-controlling keys during body parsing.

Workarounds

  • Disable multipart form-data parsing on endpoints that do not require file uploads by adjusting config/bodyparser.ts to exclude the multipart type.
  • Place a WAF rule in front of the application that blocks request bodies containing __proto__, constructor.prototype, or prototype field names.
  • Validate and allow-list expected form-field names in controller logic before passing request data to downstream object merges.
bash
# Configuration example
npm install @adonisjs/bodyparser@^10.1.3
# or for the next release line
npm install @adonisjs/bodyparser@11.0.0-next.9
npm ls @adonisjs/bodyparser

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechAdonisjs

  • SeverityHIGH

  • CVSS Score7.2

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-1321
  • Technical References
  • GitHub Release Tag

  • GitHub Security Advisory
  • Vendor Resources
  • GitHub Commit Update
  • Related CVEs
  • CVE-2026-40255: AdonisJS HTTP Server CSRF Vulnerability

  • CVE-2026-25762: AdonisJS Bodyparser DoS Vulnerability

  • CVE-2026-21440: AdonisJS Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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