{"id":"CVE-2026-21440","state":"PUBLISHED","title":"AdonisJS Path Traversal in Multipart File Handling","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.","publishedAt":"2026-01-02T19:02:18.393Z","updatedAt":"2026-01-05T20:37:47.577Z","severity":{"score":9.2,"label":"Critical","version":"4.0","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","source":"GitHub_M"},"assigner":"GitHub_M","products":["adonisjs core"],"affected":[{"vendor":"adonisjs","product":"core","versions":[{"version":"< 10.1.2","status":"affected"},{"version":">= 11.0.0-next.0, < 11.0.0-next.6","status":"affected"}]}],"references":["https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h","https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6","https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03","https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2","https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/21xxx/CVE-2026-21440.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-21440","state":"PUBLISHED","datePublished":"2026-01-02T19:02:18.393Z","dateUpdated":"2026-01-05T20:37:47.577Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-12-29T03:00:29.276Z"},"containers":{"cna":{"title":"AdonisJS Path Traversal in Multipart File Handling","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"adonisjs","product":"core","versions":[{"version":"< 10.1.2","status":"affected"},{"version":">= 11.0.0-next.0, < 11.0.0-next.6","status":"affected"}]}],"references":[{"url":"https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h","name":"https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6","name":"https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6","tags":["x_refsource_MISC"]},{"url":"https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03","name":"https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03","tags":["x_refsource_MISC"]},{"url":"https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2","name":"https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6","name":"https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.2,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-02T19:02:18.393Z"},"source":{"advisory":"GHSA-gvq6-hvvp-h34h","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-05T20:31:29.643534Z","id":"CVE-2026-21440","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-05T20:37:47.577Z"}}]}}}