CVE-2026-21440: AdonisJS Path Traversal in Multipart File Handling
(updated )
Description A Path Traversal (CWE-22) 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/bodyparser/commit/143a16f35602be8561215611582211dec280cae6
- github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03
- github.com/adonisjs/bodyparser/releases/tag/v10.1.2
- github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6
- github.com/adonisjs/core
- github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h
- github.com/advisories/GHSA-gvq6-hvvp-h34h
- nvd.nist.gov/vuln/detail/CVE-2026-21440
Code Behaviors & Features
Detect and mitigate CVE-2026-21440 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →