CVE-2026-21440: Vulnerability in @adonisjs/bodyparser

Critical. 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.

npm, CWE-22

Exploitation
None confirmed
Severity
9.2 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-gvq6-hvvp-h34h
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-22
Published
2 Jan 2026
Last change
17 Jun 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • @adonisjs/bodyparser npm, Affected before 10.1.2. Fixed in 10.1.2

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes