Critical AdonisJS Bodyparser Flaw (CVSS 9.2) Enables Arbitrary File Write on Servers
Source The Hacker News
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 13 Jan 2026, 01:09 UTC
- 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: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
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), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade core to 11.0.0-next.6 or 10.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| adonisjscore | Affected
| Fixed in
|
| adonisjscore | Affected
| Fixed in
|
AI-suggested
- Immediately update the @adonisjs/bodyparser package to version 10.1.2 or later (or 11.0.0-next.6 for next releases) to apply the official patch.
- Audit all AdonisJS applications to identify and secure any file upload endpoints, ensuring they do not rely on unsanitized filenames.
- Implement strict filename sanitization and validation routines to reject or safely handle any path traversal sequences in uploaded filenames.
- Configure the MultipartFile.move() function to always use the 'options' argument with sanitized filenames and avoid defaulting to client-supplied names.
- Restrict file system permissions for the application process to the minimum necessary, preventing overwriting of critical files or directories.
- Employ runtime application self-protection (RASP) or web application firewalls (WAF) with rules to detect and block path traversal attempts.
- Monitor logs for suspicious file upload activity or unexpected file modifications.
- Conduct penetration testing focusing on file upload functionalities to verify the absence of path traversal vulnerabilities.
- Educate developers on secure file handling practices and the risks of unsanitized user input.
- Consider isolating upload directories and using containerization or sandboxing to limit the impact of potential exploits.
Description
Users of the "@adonisjs/bodyparser" npm package are being advised to update to the latest version following the disclosure of a critical security vulnerability that, if successfully exploited, could allow a remote attacker to write arbitrary files on the server. Tracked as CVE-2026-21440 (CVSS score: 9.2), the flaw has been described as a path traversal issue affecting the AdonisJS multipart