LiveActive security incident?Get immediate response
CVE Record

CVE-2026-21440: AdonisJS Path Traversal in Multipart File Handling

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.

CriticalCVSS 9.2Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2026-21440 is a critical flaw in AdonisJS multipart file handling. An unauthenticated remote attacker may be able to make an affected server write files outside the intended upload location. For internet-facing applications that accept file uploads, this can threaten application integrity, availability, and sensitive data.

Executive priority

Treat as urgent for any AdonisJS system that accepts file uploads, especially internet-facing services. The business risk is unauthorized server file modification, which can lead to service disruption or compromise. Patch validation should be tracked to completion rather than deferred to normal maintenance.

Technical view

The issue is a CWE-22 path traversal in @adonisjs/bodyparser multipart handling. Affected versions are through 10.1.1 and 11.x prereleases before 11.0.0-next.6. The CVSS v4.0 score is 9.2, with network attack vector, low complexity, no privileges, and no user interaction.

Likely exposure

Highest exposure is AdonisJS applications using affected @adonisjs/bodyparser versions and accepting multipart uploads from untrusted users. Internal-only upload services are still exposed if reachable by attackers or compromised accounts. Applications not using multipart upload functionality have lower practical exposure, but version validation is still needed.

Exploitation context

The provided sources do not state active exploitation, and the CVE is not marked KEV. The vulnerability is remotely reachable in vulnerable configurations and could permit arbitrary file writes. Public source details confirm patches and code changes, but this assessment does not include exploit instructions.

Researcher notes

Evidence is strongest for affected version ranges, CVSS severity, CWE-22 classification, and fixed releases. The source bundle does not provide proof of exploitation in the wild. Focus validation on dependency versions, multipart upload exposure, and deployment confirmation rather than attempting exploitation.

Mitigation direction

  • Upgrade @adonisjs/bodyparser 10.x to version 10.1.2 or later.
  • Upgrade 11.x prerelease deployments to 11.0.0-next.6 or later.
  • Review the GitHub advisory and release notes for vendor-specific guidance.
  • Prioritize patching internet-facing applications that accept file uploads.
  • Redeploy affected services and confirm dependency lockfiles reflect patched versions.

Validation and detection

  • Inventory AdonisJS applications and identify @adonisjs/bodyparser versions.
  • Check package lockfiles and deployed artifacts for vulnerable version ranges.
  • Identify routes or services that accept multipart file uploads.
  • Confirm patched versions are running in production after redeployment.
  • Review recent upload activity and file integrity for unexpected server-side writes.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-21440 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.2 (4.0)
Known Exploited
No
Published

Vector: 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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.2CVSS 4.0CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

9.2Critical
CVSS 4.0 vector shape for CVE-2026-21440Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

Vector: 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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
adonisjscore< 10.1.2, >= 11.0.0-next.0, < 11.0.0-next.6Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-22 · source CWE mapping

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.