CVE-2026-48795: @adonisjs/bodyparser has an incomplete fix for CVE-2026-25754
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.
References
- github.com/adonisjs/bodyparser/commit/40e1c71f958cffb74f6b91bed6630dca979062ed
- github.com/adonisjs/bodyparser/releases/tag/v10.1.5
- github.com/adonisjs/bodyparser/releases/tag/v11.0.3
- github.com/adonisjs/core/security/advisories/GHSA-f5x2-vj4h-vg4c
- github.com/adonisjs/core/security/advisories/GHSA-qcm7-3vpr-hj5h
- github.com/advisories/GHSA-qcm7-3vpr-hj5h
- nvd.nist.gov/vuln/detail/CVE-2026-48795
Code Behaviors & Features
Detect and mitigate CVE-2026-48795 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →