Skip to content

chore(deps): bump @adonisjs/bodyparser from 10.1.0 to 10.1.3#58

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/adonisjs/bodyparser-10.1.3
Open

chore(deps): bump @adonisjs/bodyparser from 10.1.0 to 10.1.3#58
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/adonisjs/bodyparser-10.1.3

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 6, 2026

Bumps @adonisjs/bodyparser from 10.1.0 to 10.1.3.

Release notes

Sourced from @​adonisjs/bodyparser's releases.

Security Fixes

Multipart field names sanitization

Hardened the internal storage used by the multipart parser to collect form fields, preventing potential misuse of specially crafted field names.

File type detection memory improvement

Fixed an issue where the internal buffer used for file type detection could grow indefinitely when processing files whose content didn't match any known magic number signature. The parser now falls back to filename-based detection after a reasonable threshold, ensuring predictable memory usage during file uploads.

Breaking - Prevent path traversal during file uploads

10.1.2 (2026-01-02)

Security update for CVE-2026-21440 (GHSA-gvq6-hvvp-h34h)

This patch release fixes a security issue in multipart file uploads related to how filenames were handled when moving uploaded files to disk.

The MultipartFile.move(location) no longer uses the client-provided filename by default. Previously, if no filename was explicitly provided, the original filename sent by the client was used. This behavior has been changed and now we use uuid to create a unique random name for the file.

Breaking change

If your application relied on the original client filename being preserved implicitly, this behavior has changed. The newly generated file names will now use uuid.

However, if you were always passing an explicit name, then you are unaffected with this breaking change.

We consider this a necessary breaking change to close a security gap and align with secure defaults. Shipping this as a patch release ensures the fix reaches all users, including those who do not regularly upgrade major versions.

Bug Fixes

  • path traversal during file.move operation (6795c0e)

Full Changelog: adonisjs/bodyparser@v10.1.1...v10.1.2

Fix issue with uploading zip files

10.1.1 (2025-11-20)

There were two issues in place.

  • The file-type package was failing with detecting the mime-type of zip files and it was throwing an error
  • The bodyparser was not aborting the request and instead processed the entire stream. As a result of this, the file was uploaded successfully, but with a series of error logs on the console.

Bug Fixes

  • abort when partHandler.reportProgress throws an error da1f279

Full Changelog: adonisjs/bodyparser@v10.1.0...v10.1.1

Commits
  • f1fc246 chore(release): 10.1.3
  • f2cb88d style: format files
  • 487de0d fix: prevent unbounded buffer growth when magic number detection fails
  • 2515698 fix: prevent prototype pollution via multipart field names
  • 7728685 chore(release): 10.1.2
  • f2a75b8 ci: update release workflow Node version to 24
  • 6795c0e fix: path traversal during file.move operation
  • e7fc908 chore(release): 10.1.1
  • da1f279 fix: abort when partHandler.reportProgress throws an error
  • 1b52ea7 chore: update dependencies
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​adonisjs/bodyparser since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@adonisjs/bodyparser](https://github.com/adonisjs/bodyparser) from 10.1.0 to 10.1.3.
- [Release notes](https://github.com/adonisjs/bodyparser/releases)
- [Commits](adonisjs/bodyparser@v10.1.0...v10.1.3)

---
updated-dependencies:
- dependency-name: "@adonisjs/bodyparser"
  dependency-version: 10.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants