Path Traversal in Adonisjs Core
CVE-2026-21440
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
EPSS exploit prediction
EPSS 0.010, 64.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Adonisjs Core — versions < 10.1.2, >= 11.0.0-next.0, < 11.0.0-next.6
Weakness classification (CWE)
Public exploits and proof-of-concept code
5 public repositories with exploit or proof-of-concept code for this CVE:
- k0nnect/cve-2026-21440-writeup-poc (4 stars, last pushed 2026-01-08): poc and writeup for cve-2026-21440: a critical path traversal vulnerability in @adonisjs/bodyparser allowing arbitrary file writing
- you-ssef9/CVE-2026-21440 (1 star, last pushed 2026-01-05): Advanced detection-only PoC for CVE-2026-21440 affecting AdonisJS BodyParser. No exploitation included.
- Rui0828/CVE-2026-21440-adonisjs-bodyparser (last pushed 2026-11-04): Docker-based reproduction lab for CVE-2026-21440. A path traversal / arbitrary file write vulnerability in @adonisjs/bodyparser ≤10.1.1.
- TibbersV6/CVE-2026-21440-POC-EXP (last pushed 2026-01-30)
- redpack-kr/Ashwesker-CVE-2026-21440 (last pushed 2026-01-05): CVE-2026-21440
References
- https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h
- https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6
- https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03
- https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2
- https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6
This CVE has public exploit evidence. See the latest CVEs with public exploits.