{"id":"CVE-2026-21440","published":"2026-01-02T19:02:18Z","modified":"2026-01-05T20:37:47Z","title":"AdonisJS Path Traversal in Multipart File Handling","vendor":"adonisjs","product":"core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.2,"severity":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01034,"percentile":0.64649,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6","tags":["x_refsource_MISC"]},{"url":"https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03","tags":["x_refsource_MISC"]},{"url":"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","tags":["x_refsource_MISC"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":12.93},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.44}]},"exploitSources":{"pocGithub":{"count":4,"skipped":1,"earliest":"2026-01-05","earliestUrl":"https://github.com/you-ssef9/CVE-2026-21440","repos":[{"name":"k0nnect/cve-2026-21440-writeup-poc","url":"https://github.com/k0nnect/cve-2026-21440-writeup-poc","stars":4,"created":"2026-01-08"},{"name":"you-ssef9/CVE-2026-21440","url":"https://github.com/you-ssef9/CVE-2026-21440","stars":1,"created":"2026-01-05"},{"name":"redpack-kr/Ashwesker-CVE-2026-21440","url":"https://github.com/redpack-kr/Ashwesker-CVE-2026-21440","stars":0,"created":"2026-01-07"},{"name":"Rui0828/CVE-2026-21440-adonisjs-bodyparser","url":"https://github.com/Rui0828/CVE-2026-21440-adonisjs-bodyparser","stars":0,"created":"2026-11-04"}]},"first":{"date":"2026-01-05","source":"PoC-in-GitHub","url":"https://github.com/you-ssef9/CVE-2026-21440"},"provenance":"source"},"vendorSlug":"adonisjs","affectedVersions":[{"vendor":"adonisjs","product":"core","versions":["< 10.1.2",">= 11.0.0-next.0, < 11.0.0-next.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-01-05T20:31:29.643534Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@adonisjs/bodyparser","vulnerableRanges":["<10.1.2",">=11.0.0-next.0, <11.0.0-next.6"],"patched":["10.1.2","11.0.0-next.6"],"from":["GHSA-gvq6-hvvp-h34h"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the multipart file handling of AdonisJS core's @adonisjs/bodyparser package, present in version 10.1.1 and in 11.x prerelease builds before 11.0.0-next.6, lets a crafted upload escape the intended directory. A remote, unauthenticated attacker with no user interaction required, and no special configuration beyond a standard multipart upload, can write arbitrary files to arbitrary locations on the server filesystem.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:02:51Z"},"euvd":{"id":"EUVD-2026-0036","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-21440","published":"2026-01-02","fixed":"11.0.0-next.6","kev":false},{"cve":"CVE-2026-25754","published":"2026-02-06","fixed":"11.0.0-next.9","kev":false,"link":{"from":"CVE-2026-21440","to":"CVE-2026-25754","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@adonisjs/bodyparser","fromFixed":"10.1.2","toFixed":"10.1.3","daysApart":35},{"kind":"version-step","provenance":"source","package":"npm:@adonisjs/bodyparser","fromFixed":"11.0.0-next.6","toFixed":"11.0.0-next.9","daysApart":35}]}},{"cve":"CVE-2026-25762","published":"2026-02-06","fixed":"11.0.0-next.9","kev":false,"link":{"from":"CVE-2026-21440","to":"CVE-2026-25762","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@adonisjs/bodyparser","fromFixed":"10.1.2","toFixed":"10.1.3","daysApart":35},{"kind":"version-step","provenance":"source","package":"npm:@adonisjs/bodyparser","fromFixed":"11.0.0-next.6","toFixed":"11.0.0-next.9","daysApart":35}]}},{"cve":"CVE-2026-48795","published":"2026-07-15","fixed":"11.0.3","kev":false}],"package":"npm:@adonisjs/bodyparser"}}