Intel

AIKIDO-2026-11053

@adonisjs/bodyparser is vulnerable to Prototype Pollution

Prototype Pollution Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 2 days ago

73

High Risk

This Affects:

JS@adonisjs/bodyparser
10.1.3 - 10.1.4
Fixed in 10.1.5
Are you affected? Scan for Free

TL;DR

The FormFields class in @adonisjs/bodyparser stores parsed multipart fields by calling lodash.set on its internal container, which creates intermediate plain objects for every path segment. A remote attacker submitting a crafted multipart request can pollute Object.prototype, affecting all subsequent objects and enabling logic bypasses, denial of service, or further exploitation depending on downstream code. The fix tokenizes each key with lodash.toPath and rejects any field whose segments include __proto__, prototype, or constructor.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@adonisjs/bodyparser is vulnerable to Prototype Pollution in versions 10.1.3 - 10.1.4.

How to fix this

Upgrade the @adonisjs/bodyparser library to the patch version.