ZeroHour

CVE-2026-67317

PoC mass

Axios fetch adapter bypasses maxBodyLength limits for unknown-length stream bodies

CVSS 4.0
6.3 medium
EPSS
<1%p41
Published
()
Modified
AI analysis

Axios versions 1.7.0 up to (but excluding) 1.18.0 fail to enforce the configured maxBodyLength limit when a request is sent through the fetch adapter with a WHATWG ReadableStream body whose Content-Length cannot be determined. An attacker or a misbehaving data source can supply unbounded, unknown-length stream data, causing the client to transmit far more data than the application's intended upload limit allows. The result is bypassed upload size limits, uncontrolled network egress, and possible local resource exhaustion on the sending host (CWE-770), with no direct loss of confidentiality or integrity. Any Node.js or bundled JavaScript application using an affected axios version with the fetch adapter and stream-based request bodies is exposed, though this usage pattern is a subset of axios's very large install base. There are no confirmed in-the-wild exploitation reports; EPSS is 0.5%, the issue is not in CISA KEV, and one public reference (GitHub advisory GHSA-jqh4-m9w3-8hp9) documents the flaw.

What to do: Upgrade to axios 1.18.0 or later, which restores maxBodyLength enforcement for unknown-length ReadableStream bodies in the fetch adapter. Until upgraded, audit whether your application sends WHATWG ReadableStream bodies through the axios fetch adapter where upload limits matter, and mitigate by buffering the body, setting an explicit Content-Length, or using a transport that honors maxBodyLength. Track the upstream advisory (GHSA-jqh4-m9w3-8hp9) for fix details and updates.

Affected
axios1.7.0 up to but excluding 1.18.0 (fetch adapter with WHATWG ReadableStream request bodies)
Estimated exposure
masstens of millions of dependent projects/applications carry vulnerable versions (axios: tens of millions of weekly npm downloads); the practically exploitable… — Axios is one of the most-downloaded packages on npm with weekly downloads in the tens of millions, and every release from 1.7.0 until 1.18.0 shipped with the flaw, so millions of bundled applications contain the vulnerable code even though…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

axios versions 1.7.0 before 1.18.0 fail to enforce maxBodyLength for WHATWG ReadableStream request bodies in the fetch adapter when Content-Length cannot be determined. Attackers can supply unknown-length stream data to bypass upload size limits and cause uncontrolled network egress or resource exhaustion.

Vendors
axios
Products
axios
Weakness
CWE-770
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.