CVE-2026-25762 is a high-severity uncontrolled resource consumption vulnerability in @adonisjs/bodyparser (npm), affecting versions <= 10.1.2. It is fixed in 10.1.3, 11.0.0-next.9.
Summary A Denial of Service (DoS) vulnerability (CWE-400) exists in the multipart file handling logic of @adonisjs/bodyparser. When processing file uploads, the multipart parser may accumulate an unbounded amount of data in memory while attempting to detect file types, potentially leading to excessive memory consumption and process termination. This issue affects applications that accept multipart/form-data uploads using affected versions of @adonisjs/bodyparser. Details AdonisJS parses multipart/form-data requests using the BodyParser package. During file uploads, the multipart parser attempts to detect the uploaded file type by accumulating incoming chunks in an internal buffer to perform magic number detection. The internal buffer used for this detection does not enforce a maximum size and is not protected by a timeout or early termination condition. If the uploaded data does not match any supported file signatures, the buffer continues to grow as more chunks are received. When certain configurations are used, such as deferred validations or permissive file size limits, this buffering behavior may persist for the duration of the upload stream. Impact Exploitation requires a reachable endpoint that accepts multipart file uploads. An attacker can send a specially crafted multipart request containing a large or unbounded stream of data that does not match known file signatures. This may cause the server to continuously allocate memory until the Node.js process exhausts available RAM and terminates due to an out-of-memory condition. This results in a Denial of Service, making the application unavailable to legitimate users. Authentication is not required if the upload endpoint is publicly accessible. Patches Fixes targeting v6 and v7 have been published below. Users should upgrade to a version that includes the following fix: https://github.com/adonisjs/bodyparser/releases/tag/v10.1.3 https://github.com/adonisjs/bodyparser/releases/tag/v11.0.0-next.9
Crafted input forces the application to consume excessive CPU, memory, or other resources, degrading or denying service. Typical impact: denial of service.
CVE-2026-25762 has a CVSS score of 7.5 (High). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.
A fixed version is available (10.1.3, 11.0.0-next.9). Upgrading removes the vulnerable code path.
npm
@adonisjs/bodyparser (<= 10.1.2)@adonisjs/bodyparser (>= 11.0.0-next.0, <= 11.0.0-next.8)@adonisjs/bodyparser → 10.1.3 (npm)@adonisjs/bodyparser → 11.0.0-next.9 (npm)Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.
Kodem's runtime-powered SCA identifies whether CVE-2026-25762 is reachable in your applications. Explore open-source security for your team.
See if CVE-2026-25762 is reachable in your applications. Get a demo
Already deployed Kodem? See CVE-2026-25762 in your environment →Upgrade the following packages to resolve this vulnerability:
@adonisjs/bodyparser to 10.1.3 or later@adonisjs/bodyparser to 11.0.0-next.9 or laterKodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
CVE-2026-25762 is a high-severity uncontrolled resource consumption vulnerability in @adonisjs/bodyparser (npm), affecting versions <= 10.1.2. It is fixed in 10.1.3, 11.0.0-next.9. Crafted input forces the application to consume excessive CPU, memory, or other resources, degrading or denying service.
CVE-2026-25762 has a CVSS score of 7.5 (High). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
@adonisjs/bodyparser (npm) versions <= 10.1.2 is affected.
Yes. CVE-2026-25762 is fixed in 10.1.3, 11.0.0-next.9. Upgrade to this version or later.
Whether CVE-2026-25762 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
@adonisjs/bodyparser to 10.1.3 or later@adonisjs/bodyparser to 11.0.0-next.9 or later