Skip to main content
VulnerabilityPublished Updated

CVE-2026-21440: adonisjs core · Path Traversal

Affects adonisjs coreSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
adonisjscoreAffected
  • >=11.0.0-next.0 <11.0.0-next.6
Fixed in
  • 11.0.0-next.6
adonisjscoreAffected
  • <10.1.2
Fixed in
  • 10.1.2
npm@adonisjs/bodyparserpkg:npm/@adonisjs/bodyparserOther threatsAffected
  • <10.1.2
  • =11.0.0-next.6
Fixed in
  • 10.1.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately upgrade @adonisjs/bodyparser to version 10.1.2 or later, or 11.0.0-next.6 or later for prerelease users.
  2. Implement strict validation and sanitization of file upload paths to ensure no directory traversal sequences (e.g., '../') are accepted.
  3. Employ runtime application self-protection (RASP) or web application firewalls (WAFs) with rules to detect and block suspicious multipart requests attempting path traversal.
  4. Restrict file system permissions for the application process to the minimum necessary directories to limit damage from arbitrary writes.
  5. Conduct thorough code reviews and penetration testing focused on file upload functionality.
  6. Monitor logs for unusual file write activities or access to sensitive paths.
  7. Educate developers on secure file handling practices and keep dependencies up to date.
  8. 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

Community reviews

Loading reviews…