Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 2, 2026

Bumps @adonisjs/bodyparser from 10.1.0 to 10.1.2.

Release notes

Sourced from @​adonisjs/bodyparser's releases.

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
  • 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
  • 01384be chore: update dependencies
  • See full diff 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.2.
- [Release notes](https://github.com/adonisjs/bodyparser/releases)
- [Commits](adonisjs/bodyparser@v10.1.0...v10.1.2)

---
updated-dependencies:
- dependency-name: "@adonisjs/bodyparser"
  dependency-version: 10.1.2
  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 Jan 2, 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.

1 participant