PoC Monitor
← All CVEs
CVE-2026-21440published 2 Jan 2026 19:02 UTCData: JSON · API

AdonisJS core

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.

First public PoC 3.2 daysafter publication · 5 Jan 2026
Public PoCs55 on GitHub
CVSS9.2critical · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

adonisjs core
  • < 10.1.2
  • >= 11.0.0-next.0, < 11.0.0-next.6

Fixed in 10.1.2, 11.0.0-next.6

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published2 Jan 2026 · t = 0First public PoC5 Jan 2026 · t+3.2d

First public PoC 3.2 days after publication; not in CISA KEV. First PoC: you-ssef9/CVE-2026-21440 (created 5 Jan 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

5 PoCs

PoCs 5
RepositoryCreatedFound by usStarsAssessment
you-ssef9/CVE-2026-21440 5 Jan 2026 +3.2 d backfilled 1 PoC
redpack-kr/Ashwesker-CVE-2026-21440 7 Jan 2026 +4.4 d backfilled 0 PoC
k0nnect/cve-2026-21440-writeup-poc 8 Jan 2026 +5.2 d backfilled 4 PoC
TibbersV6/CVE-2026-21440-POC-EXP 30 Jan 2026 +28 d backfilled 0 PoC
Rui0828/CVE-2026-21440-adonisjs-bodyparser 4 Nov 2026 +305 d 14 Nov 2026 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 5 PoC repos

POST /upload

Body markers
file=@payload.txt;filename=../../tmp/pwned.txt in multipart/form-data
Ports
3333
Seen in
1 repo: k0nnect/cve-2026-21440-writeup-poc
Evidence
k0nnect/cve-2026-21440-writeup-poc/README.md:117

POST /{var}

Body markers
shell_pass=echo ` in application/x-www-form-urlencoded
Ports
2324
Seen in
1 repo: TibbersV6/CVE-2026-21440-POC-EXP
Evidence
TibbersV6/CVE-2026-21440-POC-EXP/CVE-2026-21440-code.py:60

PUT /{var}

Body markers
php=<?php @eval({var}[" asp=<% eval request(" in application/x-www-form-urlencoded
Ports
2324
Seen in
1 repo: TibbersV6/CVE-2026-21440-POC-EXP
Evidence
TibbersV6/CVE-2026-21440-POC-EXP/CVE-2026-21440-code.py:45

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /upload
(?i)^/upload(?:[?#].*)?$
POST /{var}
(?i)^/[^/?#]*(?:[?#].*)?$
PUT /{var}
(?i)^/[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /upload
alert http any any -> $HOME_NET [3333] (msg:"GG PoC-Monitor CVE-2026-21440 adonisjs core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/upload"; http.request_body; content:"file=@payload.txt|3b|filename=../../tmp/pwned.txt"; reference:url,poc.griffinguard.io/cve/CVE-2026-21440; classtype:web-application-attack; sid:9224856; rev:1;)
POST /{var}
alert http any any -> $HOME_NET [2324] (msg:"GG PoC-Monitor CVE-2026-21440 adonisjs core exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"shell_pass=echo `"; reference:url,poc.griffinguard.io/cve/CVE-2026-21440; classtype:web-application-attack; sid:9298882; rev:1;)
PUT /{var}
alert http any any -> $HOME_NET [2324] (msg:"GG PoC-Monitor CVE-2026-21440 adonisjs core exploit attempt"; flow:established,to_server; http.method; content:"PUT"; http.request_body; content:"php=<?php @eval("; http.request_body; content:"asp=<% eval request(|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-21440; classtype:web-application-attack; sid:9517683; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /upload
title: adonisjs core exploit attempt (CVE-2026-21440)
id: gg-pocmon-cve-2026-21440-9224856
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-21440. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-21440
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/upload'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.21440
POST /{var}
title: adonisjs core exploit attempt (CVE-2026-21440)
id: gg-pocmon-cve-2026-21440-9298882
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-21440. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-21440
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.21440
PUT /{var}
title: adonisjs core exploit attempt (CVE-2026-21440)
id: gg-pocmon-cve-2026-21440-9517683
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-21440. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-21440
logsource:
  category: webserver
detection:
  selection:
    cs-method: PUT
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.21440