Intel

AIKIDO-2026-10822

axios is vulnerable to Prototype Pollution

Prototype Pollution Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 19, 2026

37

Low Risk

This Affects:

JSaxios
1.0.0 - 1.16.0
Fixed in 1.16.1
Are you affected? Scan for Free

TL;DR

The formDataToJSON helper turns dotted multipart names into nested objects using a walk over intermediate path segments. When the runtime already has a polluted Object.prototype, the old property check could follow inherited slots so writes attached to shared prototype state instead of own properties on the result. Replacing that check with an own-property guard shadows inherited keys locally and stops global prototype mutation for attacker-shaped field names. A regression test pins the polluted-prototype scenario.

Who does this affect?

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

Background info

axios is vulnerable to Prototype Pollution in versions 1.0.0 - 1.16.0.

How to fix this

Upgrade the axios library to the patch version.