GHSA-qcm7-3vpr-hj5h: @adonisjs/bodyparser has an incomplete fix for CVE-2026-25754
An incomplete fix in @adonisjs/bodyparser for CVE-2026-25754 allows prototype pollution via nested payloads in multipart/form-data requests. The vulnerability affects versions >=10.1.3 <10.1.5 and >=11.0.0-next.9 <11.0.3. An unauthenticated attacker can remotely pollute Object.prototype, potentially causing authorization bypasses or other severe impacts. Fixed versions 10.1.5 and 11.0.3 address this issue.
AI Analysis
Technical Summary
The vulnerability in @adonisjs/bodyparser arises from an incomplete patch for CVE-2026-25754. The original fix replaced the internal FormFields storage with an object lacking a prototype to block direct prototype pollution payloads like '__proto__.polluted'. However, nested payloads containing a normal segment before '__proto__' or 'constructor.prototype' (e.g., 'user.__proto__.polluted') bypass this protection because lodash's _.set() creates intermediate plain objects that regain prototype access. This allows an unauthenticated attacker to remotely pollute Object.prototype via a single multipart/form-data request. The pollution affects the entire process, potentially leading to authorization bypass, unexpected behavior in dependent libraries, or prototype pollution gadget chains that could escalate to remote code execution. The issue affects versions >=10.1.3 <10.1.5 and >=11.0.0-next.9 <11.0.3. Fixed versions 10.1.5 and 11.0.3 have been released to address this vulnerability.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability by sending a specially crafted multipart/form-data request to any route using BodyParserMiddleware. This results in process-wide Object.prototype pollution, which may cause authorization bypasses, unexpected behavior in downstream libraries, or enable prototype pollution gadget chains that could lead to remote code execution.
Mitigation Recommendations
Users should upgrade to @adonisjs/bodyparser versions 10.1.5 or later, or 11.0.3 or later, where this vulnerability has been fixed. The vendor has published official patches addressing this issue. Until upgraded, the vulnerability remains exploitable. No other mitigations are indicated by the vendor advisory.
GHSA-qcm7-3vpr-hj5h: @adonisjs/bodyparser has an incomplete fix for CVE-2026-25754
Description
An incomplete fix in @adonisjs/bodyparser for CVE-2026-25754 allows prototype pollution via nested payloads in multipart/form-data requests. The vulnerability affects versions >=10.1.3 <10.1.5 and >=11.0.0-next.9 <11.0.3. An unauthenticated attacker can remotely pollute Object.prototype, potentially causing authorization bypasses or other severe impacts. Fixed versions 10.1.5 and 11.0.3 address this issue.
CVSS v3.1
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in @adonisjs/bodyparser arises from an incomplete patch for CVE-2026-25754. The original fix replaced the internal FormFields storage with an object lacking a prototype to block direct prototype pollution payloads like '__proto__.polluted'. However, nested payloads containing a normal segment before '__proto__' or 'constructor.prototype' (e.g., 'user.__proto__.polluted') bypass this protection because lodash's _.set() creates intermediate plain objects that regain prototype access. This allows an unauthenticated attacker to remotely pollute Object.prototype via a single multipart/form-data request. The pollution affects the entire process, potentially leading to authorization bypass, unexpected behavior in dependent libraries, or prototype pollution gadget chains that could escalate to remote code execution. The issue affects versions >=10.1.3 <10.1.5 and >=11.0.0-next.9 <11.0.3. Fixed versions 10.1.5 and 11.0.3 have been released to address this vulnerability.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability by sending a specially crafted multipart/form-data request to any route using BodyParserMiddleware. This results in process-wide Object.prototype pollution, which may cause authorization bypasses, unexpected behavior in downstream libraries, or enable prototype pollution gadget chains that could lead to remote code execution.
Mitigation Recommendations
Users should upgrade to @adonisjs/bodyparser versions 10.1.5 or later, or 11.0.3 or later, where this vulnerability has been fixed. The vendor has published official patches addressing this issue. Until upgraded, the vulnerability remains exploitable. No other mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-qcm7-3vpr-hj5h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-48795"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a4452e227e9c797198e1197
Added to database: 06/30/2026, 23:36:02 UTC
Last enriched: 06/30/2026, 23:48:02 UTC
Last updated: 06/30/2026, 23:48:02 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.