Vulnerability · Published Jan 2, 2026 · Assigned by GitHub_M
CVE-2026-21440AdonisJS Path Traversal in Multipart File Handling
Critical 9.2
In plain English
A critical-severity path traversal in core from adonisjs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 64% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
AdonisJS is a TypeScript-first web framework. A Path Traversal 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @adonisjs/bodyparser | 10.1.2 | GHSA-gvq6-hvvp-h34h |
| npm | @adonisjs/bodyparser | 11.0.0-next.6 | GHSA-gvq6-hvvp-h34h |
Affected products (as reported)
Weakness: CWE-22 · 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
References
- https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h x_refsource_CONFIRM
- https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6 x_refsource_MISC
- https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03 x_refsource_MISC
- https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2 x_refsource_MISC
- https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6 x_refsource_MISC