{
  "id": "CVE-2026-21440",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-21440",
  "published_at": "2026-01-02T19:02:18.393Z",
  "title": "AdonisJS Path Traversal in Multipart File Handling",
  "vendor": "adonisjs",
  "product": "core",
  "cvss": {
    "score": 9.2,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-01-05T22:40:37Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 3.2,
    "repo": "you-ssef9/CVE-2026-21440",
    "source": "github"
  },
  "poc_repo_count": 5,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cvss_by_source": {
    "cna": 9.2
  },
  "repos": [
    {
      "repo": "you-ssef9/CVE-2026-21440",
      "url": "https://github.com/you-ssef9/CVE-2026-21440",
      "created_at": "2026-01-05T22:40:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-04-03T23:11:50Z"
    },
    {
      "repo": "redpack-kr/Ashwesker-CVE-2026-21440",
      "url": "https://github.com/redpack-kr/Ashwesker-CVE-2026-21440",
      "created_at": "2026-01-07T05:29:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-04-14T21:19:34Z"
    },
    {
      "repo": "k0nnect/cve-2026-21440-writeup-poc",
      "url": "https://github.com/k0nnect/cve-2026-21440-writeup-poc",
      "created_at": "2026-01-08T00:55:02Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-06-12T18:52:41Z"
    },
    {
      "repo": "TibbersV6/CVE-2026-21440-POC-EXP",
      "url": "https://github.com/TibbersV6/CVE-2026-21440-POC-EXP",
      "created_at": "2026-01-30T07:19:50Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-11-09T02:21:13Z"
    },
    {
      "repo": "Rui0828/CVE-2026-21440-adonisjs-bodyparser",
      "url": "https://github.com/Rui0828/CVE-2026-21440-adonisjs-bodyparser",
      "created_at": "2026-11-04T06:34:16Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2021-03-15T08:08:18Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "adonisjs",
        "product": "core",
        "ranges": [
          "\u003c 10.1.2",
          "\u003e= 11.0.0-next.0, \u003c 11.0.0-next.6"
        ],
        "fixed_in": [
          "10.1.2",
          "11.0.0-next.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade core to 10.1.2 or 11.0.0-next.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/adonisjs/core/security/advisories/GHSA-gvq6-hvvp-h34h"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/adonisjs/bodyparser/commit/143a16f35602be8561215611582211dec280cae6"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/adonisjs/bodyparser/commit/6795c0e3fa824ae275bbd992aae60609e96f0f03"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/adonisjs/bodyparser/releases/tag/v10.1.2"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/upload",
      "body_markers": [
        "file=@payload.txt;filename=../../tmp/pwned.txt"
      ],
      "content_type": "multipart/form-data",
      "ports": [
        3333
      ],
      "protocol": "http",
      "repos": [
        "k0nnect/cve-2026-21440-writeup-poc"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "k0nnect/cve-2026-21440-writeup-poc/README.md:117"
      ]
    },
    {
      "method": "POST",
      "path_template": "/{var}",
      "body_markers": [
        "shell_pass=echo `"
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        2324
      ],
      "protocol": "https",
      "repos": [
        "TibbersV6/CVE-2026-21440-POC-EXP"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "TibbersV6/CVE-2026-21440-POC-EXP/CVE-2026-21440-code.py:60"
      ]
    },
    {
      "method": "PUT",
      "path_template": "/{var}",
      "body_markers": [
        "php=\u003c?php @eval({var}[\"",
        "asp=\u003c% eval request(\""
      ],
      "content_type": "application/x-www-form-urlencoded",
      "ports": [
        2324
      ],
      "protocol": "https",
      "repos": [
        "TibbersV6/CVE-2026-21440-POC-EXP"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "TibbersV6/CVE-2026-21440-POC-EXP/CVE-2026-21440-code.py:45"
      ]
    }
  ],
  "rules": []
}
