Skip to main content

axios CVE-2026-67317

| EUVDEUVD-2026-51863 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-08-01 VulnCheck GHSA-39j5-w47m-2gmv
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Supply unbounded ReadableStream as request body
  2. Delivery
    Application calls axios fetch adapter with finite maxBodyLength
  3. Exploit
    getBodyLength() returns undefined for stream type
  4. Execution
    maxBodyLength size check skipped silently
  5. Persist
    Full stream forwarded to upstream target
  6. Impact
    Bandwidth or API quota exhausted

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

All four of the following conditions must hold simultaneously: (1) the application uses axios with adapter: 'fetch' explicitly set, or runs in an environment where axios auto-selects the fetch adapter (edge runtimes such as Cloudflare Workers, Vercel Edge, Deno Deploy, or browser-side usage); (2) the request uses a body-bearing method (POST, PUT, or PATCH); (3) the request body is a WHATWG ReadableStream object with no reliable finite Content-Length, meaning the stream length cannot be determined before dispatch; and (4) the application sets maxBodyLength to a finite value and treats it as the primary or sole upload-size guard. Known-length body types (strings, Blob, ArrayBuffer, ArrayBufferView, URLSearchParams, spec-compliant FormData, or requests with an explicit finite Content-Length header) are not affected even on the fetch adapter path. Exploitation yields no code execution, no confidentiality breach, and no integrity modification - impact is strictly availability through resource exhaustion.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L) captures the key risk profile: network-reachable and low-complexity once prerequisites are met, but gated behind AT:P - the specific attack requirement that the application uses the fetch adapter, accepts a WHATWG ReadableStream body of unknown length from an attacker, and relies on maxBodyLength as its primary size control. The impact ceiling is limited availability (VA:L/SA:L) - no code execution, no credential exposure, no data exfiltration path exists. No EPSS score was provided in the input; exploitation probability cannot be quantitatively stated. The vulnerability is not listed in CISA KEV, and no public exploit exists at time of analysis. Real-world risk is concentrated in edge-runtime deployments (Cloudflare Workers, Vercel Edge, Deno Deploy) or browser-side axios usage where fetch is the default adapter, and specifically in applications that act as upload proxies relaying untrusted user-provided streams. For typical Node.js server-side axios usage with the HTTP adapter, this vulnerability does not apply, making it lower priority for the majority of the npm install base.

Exploit ScenarioDerived

An attacker targeting an upload-proxy endpoint built on axios with the fetch adapter crafts a streaming POST body with no Content-Length header and begins sending data continuously. Because getBodyLength() returns undefined for the ReadableStream, the maxBodyLength check is silently skipped and axios passes the full unbounded stream to fetch(), forwarding all bytes to the upstream service. The attacker sustains the stream long enough to exhaust the application's outbound bandwidth allocation or consume the upstream API's rate-limited quota, degrading availability for legitimate users.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 01, 2026

The fetch adapter in axios 1.7.0 through 1.17.x silently skips the maxBodyLength enforcement when a WHATWG ReadableStream body has no determinable Content-Length, allowing attacker-supplied stream data to bypass configured upload size limits. Applications that proxy or relay untrusted stream data via axios with the fetch adapter and rely solely on maxBodyLength as the size guard are exposed to uncontrolled outbound egress and potential exhaustion of upstream API quotas or bandwidth. No public exploit has been identified at time of analysis; CVSS 4.0 scores this at 6.3 with limited availability impact (VA:L) and an attack prerequisite (AT:P) reflecting the specific conditions required.

RemediationAI

Upgrade to axios 1.18.0, which resolves the issue by adding a ReadableStream branch to getBodyLength() so that maxBodyLength is enforced for stream bodies; the fix is in commit 32fc489632377d214db55bfa4e2c48486a7d7ce2 (merged via PR #11000). Advisory: https://github.com/axios/axios/security/advisories/GHSA-jqh4-m9w3-8hp9. If upgrading is not immediately possible, the most direct compensating control is to explicitly configure axios to use the HTTP adapter (adapter: 'http') in Node.js environments, which eliminates the vulnerable code path entirely; note this will break deployments on edge runtimes where the fetch adapter is required. As a defense-in-depth measure independent of axios version, implement request body size limits at the HTTP server or reverse-proxy layer - for example, nginx client_max_body_size or Node.js http.maxHeaderSize and equivalent body limits - so that maxBodyLength is never the sole enforcement mechanism for untrusted stream uploads. Trade-off: upstream proxy limits may reject legitimate large uploads that would otherwise be handled by application logic.

Affected VersionsENISA

axios 1.7.0 <1.18.0

Affected Packages

npm axios fix: 1.18.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling), traced to a missing code branch in lib/adapters/fetch.js. The getBodyLength() function handles Blob, spec-compliant FormData, ArrayBuffer, URLSearchParams, and strings, but has no branch for WHATWG ReadableStream objects. Consequently, resolveBodyLength() returns undefined for live streams, and the maxBodyLength guard - which only fires when the resolved outbound length is a finite number exceeding the configured limit - is silently bypassed. The onUploadProgress wrapper (trackStream()) also does not enforce the cap; it only reports byte progress. The HTTP adapter's stream upload path in Node.js is entirely separate and is not affected. Affected product per CPE: cpe:2.3:a:axios:axios:*:*:*:*:*:*:*:* covering npm versions >= 1.7.0 and < 1.18.0 - versions before 1.7.0 predate the fetch adapter entirely and are not affected.

Know when Axios gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
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
vuln.today AI 3.7 LOW

Attack prerequisites (fetch adapter selected, attacker-controlled ReadableStream, no Content-Length) map to AC:H; no auth required; impact is availability-only with no C or I effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L
SUSE 4.0 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
Red Hat 5.3 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
Low

Lifecycle Timeline

2
Patch available
Aug 01, 2026 - 13:01 EUVD
CVE Published
Aug 01, 2026 - 12:22 cve.org
MEDIUM 6.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
High
most downloaded HTTP client in the npm ecosystem
Data Quality
8 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Axios

View all
CVE-2026-42043 CRITICAL POC
10.0 Apr 24

NO_PROXY protection bypass in Axios HTTP client (versions 1.0.0-1.15.0 and ≤0.31.0) lets an attacker who controls a requ

CVE-2026-42044 CRITICAL POC
9.1 Apr 24

JSON response tampering in the Axios HTTP client (versions 1.0.0 up to but not including 1.15.2) lets an attacker who ca

CVE-2026-67320 HIGH POC
8.3 Aug 01

Prototype pollution via the Node.js HTTP adapter in axios allows an attacker who controls `Object.prototype.proxy` to si

CVE-2025-27152 HIGH POC
7.7 Mar 07

axios is a promise based HTTP client for the browser and node.js. Rated high severity (CVSS 7.7), this vulnerability is

CVE-2025-58754 HIGH POC
7.5 Sep 12

Axios is a promise based HTTP client for the browser and Node.js. Rated high severity (CVSS 7.5), this vulnerability is

CVE-2026-25639 HIGH POC
7.5 Feb 09

Axios versions up to 0.30.3 is affected by improper check for unusual or exceptional conditions (CVSS 7.5).

CVE-2024-39338 HIGH POC
7.5 Aug 12

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative

CVE-2021-3749 HIGH POC
7.5 Aug 31

axios is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerability is

CVE-2019-10742 HIGH POC
7.5 May 07

Axios up to and including 0.18.0 allows attackers to cause a denial of service (application crash) by continuing to acce

CVE-2026-42033 HIGH POC
7.4 Apr 24

Prototype pollution in Axios HTTP client versions before 1.15.1 and 0.31.1 enables silent interception and modification

CVE-2026-42039 MEDIUM POC
6.9 Apr 24

Denial of service in Axios HTTP client before versions 1.15.1 and 0.31.1 allows remote unauthenticated attackers to cras

CVE-2026-42041 MEDIUM POC
6.5 Apr 24

Prototype pollution in Axios library versions prior to 1.15.1 and 0.31.1 allows remote attackers to suppress HTTP error

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Python 3 15 SP7 Not-Affected
SUSE Linux Enterprise Module for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy