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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| adonisjs | core | < 10.1.2, >= 11.0.0-next.0, < 11.0.0-next.6 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 5 repositories
-
k0nnect/cve-2026-21440-writeup-poc ★ 4 · Jan 8, 2026
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 · Jan 5, 2026
Advanced detection-only PoC for CVE-2026-21440 affecting AdonisJS BodyParser. No exploitation included.
-
Rui0828/CVE-2026-21440-adonisjs-bodyparser ★ 0 · Nov 4, 2026
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 ★ 0 · Jan 30, 2026
-
redpack-kr/Ashwesker-CVE-2026-21440 ★ 0 · Jan 7, 2026
CVE-2026-21440
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @adonisjs/bodyparser | < 10.1.2 | 10.1.2 | GHSA-gvq6-hvvp-h34h |
| npm | @adonisjs/bodyparser | >= 11.0.0-next.0, < 11.0.0-next.6 | 11.0.0-next.6 | GHSA-gvq6-hvvp-h34h |
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