Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @adonisjs/bodyparser
  4. ›
  5. CVE-2026-21440

CVE-2026-21440: AdonisJS Path Traversal in Multipart File Handling

January 2, 2026 (updated January 3, 2026)

Description A Path Traversal (CWE-22) vulnerability in AdonisJS multipart file handling may allow a remote attacker to write arbitrary files to arbitrary locations on the server filesystem. This impacts @adonisjs/bodyparser through version 10.1.1 and 11.x prerelease versions prior to 11.0.0-next.6. This issue has been patched in @adonisjs/bodyparser versions 10.1.2 and 11.0.0-next.6.

References

  • github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6
  • github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03
  • github.com/adonisjs/bodyparser/releases/tag/v10.1.2
  • github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6
  • github.com/adonisjs/core
  • github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h
  • github.com/advisories/GHSA-gvq6-hvvp-h34h
  • nvd.nist.gov/vuln/detail/CVE-2026-21440

Code Behaviors & Features

Detect and mitigate CVE-2026-21440 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.1.2, all versions starting from 11.0.0-next.0 before 11.0.0-next.6

Fixed versions

  • 10.1.2
  • 11.0.0-next.6

Solution

Upgrade to versions 10.1.2, 11.0.0-next.6 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/@adonisjs/bodyparser/CVE-2026-21440.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 08 Jan 2026 12:19:09 +0000.