Intel

AIKIDO-2026-60497

axios is vulnerable to Denial of Service (DoS)

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

59

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

estimateDataURLDecodedBytes() undercounts the decoded byte size of a percent-embedded base64 data: URL, ignoring padding and percent-encoded content when checking a data: URL request against maxContentLength. A crafted data: URL can therefore carry a real decoded payload far larger than the configured limit while passing the pre-check, forcing axios to allocate and process an oversized buffer. The fix recomputes the estimate to include percent-encoded bytes and padding while excluding URL fragments, and the Node HTTP adapter now bounds the raw Buffer allocation to that corrected estimate.

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 you set maxContentLength while your application requests or otherwise processes data: URL responses that can contain percent-encoded content.

Package

Versions

1.12.0 - 1.18.1

Fixed in 1.19.0

Background info

axios is vulnerable to Denial of Service (DoS) in versions 1.12.0 - 1.18.1.

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