CVE-2026-21440: adonisjs core · Path Traversal
Affects adonisjs coreSource CVE Database V5
Not known to be exploited · CVSS 9.2 Critical : upgrade to 11.0.0-next.6 or 10.1.2 as a priority.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 1.0% chance of exploitation in 30 days – higher than 63% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 11.0.0-next.6, 10.1.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade core to 11.0.0-next.6 or 10.1.2; @adonisjs/bodyparser to 10.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| adonisjscore | Affected
| Fixed in
|
| adonisjscore | Affected
| Fixed in
|
npm@adonisjs/bodyparserpkg:npm/@adonisjs/bodyparserOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately upgrade @adonisjs/bodyparser to version 10.1.2 or later, or 11.0.0-next.6 or later for prerelease users.
- Implement strict validation and sanitization of file upload paths to ensure no directory traversal sequences (e.g., '../') are accepted.
- Employ runtime application self-protection (RASP) or web application firewalls (WAFs) with rules to detect and block suspicious multipart requests attempting path traversal.
- Restrict file system permissions for the application process to the minimum necessary directories to limit damage from arbitrary writes.
- Conduct thorough code reviews and penetration testing focused on file upload functionality.
- Monitor logs for unusual file write activities or access to sensitive paths.
- Educate developers on secure file handling practices and keep dependencies up to date.
- Consider containerization or sandboxing to isolate the application environment and reduce attack surface.
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.
References
- github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h (opens in a new tab)
- github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6 (opens in a new tab)
- github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03 (opens in a new tab)
- github.com/adonisjs/bodyparser/releases/tag/v10.1.2 (opens in a new tab)
- github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6 (opens in a new tab)