Intel

AIKIDO-2026-936429

axios is vulnerable to Prototype Pollution

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 18, 2026
September 18, 2026

59

CVE Score

Medium

Prototype Pollution

Are you affected? Scan for Free

TL;DR

The Node HTTP adapter builds its redirect options with a plain beforeRedirects: {} object, so dispatchBeforeRedirect looks up its hook on an object that still inherits from Object.prototype. A polluted prototype property reachable at the key the redirect dispatcher checks can therefore run during a redirect and rewrite the request's destination, host, or headers before the redirected request is sent. The fix builds beforeRedirects on a null-prototype object so no inherited hook is reachable.

How do I fix this?

Upgrade the axios library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and a separate prototype-pollution primitive elsewhere in your application can reach Object.prototype.

Package

Versions

0.28.0 - 0.33.0

Fixed in 0.34.0

Background info

axios is vulnerable to Prototype Pollution in versions 0.28.0 - 0.33.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea