CVE-2026-48795 — Vulnerability in @adonisjs/bodyparser — CVE Details
@adonisjs/bodyparser has an incomplete fix for CVE-2026-25754
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.55%). Schedule for your next planned update.
Does your project use an affected @adonisjs/bodyparser version?
Paste your package-lock.json to check it for CVE-2026-48795 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
The fix for GHSA-f5x2-vj4h-vg4c / CVE-2026-25754 introduced in commit 40e1c71 is incomplete and can be bypassed through nested prototype pollution payloads.
The original patch replaced the internal FormFields storage object with Object.create(null), preventing direct payloads such as __proto__.polluted. However, payloads containing a non-dangerous segment before __proto__ or constructor.prototype, such as user.__proto__.polluted, still lead to Object.prototype pollution.
This issue is exploitable remotely through a single unauthenticated multipart/form-data request using the default configuration.
Affected versions
>= 10.1.3 < 10.1.5>= 11.0.0-next.9 < 11.0.3
Details
The regression tests added by the original fix only covered direct payloads such as:
__proto__.pollutedconstructor.prototype.polluted
These payloads are blocked because the root object no longer inherits from Object.prototype.
However, lodash _.set() (via @poppinss/utils) still creates intermediate objects using plain {} values. Once a normal segment is encountered, subsequent __proto__ or constructor.prototype segments regain access to Object.prototype.
Impact
An unauthenticated attacker can remotely pollute Object.prototype on any route accepting multipart/form-data requests behind BodyParserMiddleware.
Because the pollution is process-wide, the impact may include authorization bypasses, unexpected behavior in downstream libraries, or prototype pollution gadget chains leading to remote code execution.
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.5
- https://github.com/adonisjs/bodyparser/releases/tag/v11.0.3
References
- CWE-1321
- Prior advisory this bypasses: GHSA-f5x2-vj4h-vg4c / CVE-2026-25754
Advisory Timeline
- First published June 30, 2026 (149 days ago).
- Last revised September 10, 2026 — 71 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @adonisjs/bodyparser@11.0.3
npm install @adonisjs/bodyparser@10.1.5
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| @adonisjs/bodyparser npm · Affected: All versions | 11.0.3 |
| @adonisjs/bodyparser npm · Affected: All versions | 10.1.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
References
- https://github.com/adonisjs/core/security/advisories/GHSA-f5x2-vj4h-vg4cWEB
- https://github.com/adonisjs/core/security/advisories/GHSA-qcm7-3vpr-hj5hWEB
- https://github.com/adonisjs/bodyparser/commit/40e1c71f958cffb74f6b91bed6630dca979062edWEB
- https://github.com/adonisjs/bodyparser/releases/tag/v10.1.5WEB
- https://github.com/adonisjs/bodyparser/releases/tag/v11.0.3WEB
- https://github.com/adonisjs/corePACKAGE
Frequently Asked Questions
- What is CVE-2026-48795?
- @adonisjs/bodyparser has an incomplete fix for CVE-2026-25754. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2026-48795?
- CVE-2026-48795 affects @adonisjs/bodyparser. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-48795 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 39.4% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-21440CRITICAL
AdonisJS Path Traversal in Multipart File Handling
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution