CVE-2026-25754: AdonisJS BodyParser Prototype Pollution Vulnerability

@adonisjs/bodyparser Updated 07 Feb 2026

Summary

06/02/2026
Yes i
High
7.2

CVE-2026-25754: AdonisJS multipart body parsing has Prototype Pollution issue. Affects @adonisjs/bodyparser across 2 version ranges.

< 10.1.3 >= 11.0.0-next.0, < 11.0.0-next.9

Fixed in 10.1.3 or 11.0.0-next.9, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

AdonisJS is a Node.js MVC framework that helps developers build web applications and APIs with ease. The @adonisjs/bodyparser package is responsible for parsing incoming request bodies, specifically multipart form-data. This package is widely used for handling file uploads and form submissions in AdonisJS applications. However, it has been found to be vulnerable to a Prototype Pollution issue, which can lead to serious security implications if not addressed.

Vulnerability Detail

A Prototype Pollution vulnerability (CWE-1321) exists in the @adonisjs/bodyparser package, affecting versions up to 10.1.2 and 11.x prerelease versions prior to 11.0.0-next.8. This vulnerability arises from insufficient validation of multipart field names during the parsing of multipart/form-data requests. Attackers can exploit this flaw by sending specially crafted field names that include reserved property names such as proto, constructor, or prototype. This manipulation can lead to unexpected application behavior, logic bypasses, or security issues, depending on how the polluted objects are utilized within the application.

How To Fix

Latest published version: 11.0.4 as of 23 Oct 2026

npm install @adonisjs/bodyparser@11.0.4

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 10.1.3 10.1.3
    npm install @adonisjs/bodyparser@10.1.3
  • >= 11.0.0-next.0, < 11.0.0-next.9 11.0.0-next.9
    npm install @adonisjs/bodyparser@11.0.0-next.9

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, you can implement input validation to sanitize and restrict the field names being processed by the multipart parser. This can help mitigate the risk of prototype pollution until the package is updated. However, the best solution is to upgrade to the patched versions.

Conclusion

The Prototype Pollution vulnerability in the @adonisjs/bodyparser package poses significant risks to applications that handle multipart form-data requests. It is crucial for developers to upgrade to the patched versions to ensure the security and integrity of their applications.

See every vulnerability recorded for @adonisjs/bodyparser →

Share this vulnerability

FAQ

Prototype Pollution is a security vulnerability that allows an attacker to manipulate the prototype of a JavaScript object, potentially leading to unexpected behavior in applications.

Versions up to 10.1.2 and 11.x prerelease versions prior to 11.0.0-next.8 are affected by this vulnerability.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Exploitation of this vulnerability can lead to unexpected application behavior, logic bypasses, or security issues depending on how polluted objects are consumed in the application.

Yes, implementing input validation to sanitize multipart field names can help mitigate the risk until the package is updated.

Related vulnerabilities

Recent vulnerabilities recorded for @adonisjs/bodyparser.

How To Fix

Latest published version: 11.0.4 as of 23 Oct 2026

npm install @adonisjs/bodyparser@11.0.4

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 10.1.3 10.1.3
    npm install @adonisjs/bodyparser@10.1.3
  • >= 11.0.0-next.0, < 11.0.0-next.9 11.0.0-next.9
    npm install @adonisjs/bodyparser@11.0.0-next.9

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback