# Security Fixes for Multipart Denial of Service Vulnerabilities in @adonisjs/bodyparser v10\.1\.6

Canonical URL : https://adonisjs-signal.jrmc.dev/insights/15be5316-f651-4108-a6fe-e67da62903b2
Source release or documentation date : 2026-11-04T06:33:32.000Z
Category : release | Developer impact : high
Action required: yes
Affected packages : @adonisjs/bodyparser

Version 10\.1\.6 of @adonisjs/bodyparser addresses multiple denial of service vulnerabilities related to multipart parsing\. The update includes fixes for crashes caused by multipart file fields named after Object\.prototype properties, updates to the @poppinss/multiparty dependency to version 3\.0\.1 which resolves several CVEs, and improvements in handling large part headers and malformed filename encodings\.

## What this means for your code

Developers using @adonisjs/bodyparser@10\.x should upgrade to v10\.1\.6 to mitigate security risks\. The update changes some multipart parsing behaviors, such as skipping files with malformed filename\* encoding instead of failing the request, and decoding filename\* values with decodeURIComponent, which may affect file naming and handling\. Files with part headers larger than 16KB are now rejected with a 413 error\. These changes may require reviewing file upload handling and sanitization of client\-provided filenames\.

## Suggested actions

- Upgrade @adonisjs/bodyparser to version 10\.1\.6 immediately to fix security vulnerabilities\.
- Review multipart file upload handling, especially if relying on filename\* encoding or custom file naming\.
- Sanitize clientName inputs if passing them explicitly to file\.move\(\) due to decoding changes\.
- Test multipart upload functionality to ensure compatibility with new error handling and behavior changes\.

## Original sources

- [fix multipart denial of service vulnerabilities](https://github.com/adonisjs/bodyparser/releases/tag/v10.1.6)

AI-generated analysis based on the linked sources. Check the original documentation before changing your application.
