CVE-2026-44488
JSON

7.5high

Axios: Allocation of Resources Without Limits or Throttling in axios

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.93% (higher than 59% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-777c-7fjr-54vf

Description

Axios is a promise based HTTP client for the browser and Node.js. Axios versions 1.7.0 through 1.15.x did not enforce configured request and response size limits when requests were sent with the fetch adapter. Applications that selected adapter: 'fetch', or ran in environments where axios resolved to the fetch adapter, could receive or send bodies larger than maxContentLength or maxBodyLength despite those limits being explicitly configured. This can cause resource exhaustion in server-side usage when a malicious or compromised server returns an oversized response, when an attacker can supply a large data: URL, or when an application forwards attacker-controlled request bodies through axios while relying on maxBodyLength as a boundary. This vulnerability is fixed in 0.32.0 and 1.16.0.

Affected

Product or packageVersionsReported by
axios axios>= 1.7.0, < 1.16.0, from 1.7.0 before 1.16.0CVE List, NVD
axiosNot specifiedCVE List
automation-gatewayNot specified
Not affected: from 0:2.5.20260715-1.el8ap before *, from 0:2.5.20260715-1.el9ap before *
CVE List
automation-platform-uiNot specified
Not affected: from 0:2.6.10-1.el9ap before *
CVE List
multicluster-engine/console-mce-rhel9Not specified
Not affected: from 1784312384 before *, from 1783351002 before *, from 1782157085 before *, from 1783348181 before *
CVE List
rhacm2/console-rhel9Not specified
Not affected: from 1783350952 before *, from 1782157514 before *, from 1783451729 before *, from 1784578812 before *, from 1786908361 before *
CVE List
advanced-cluster-security/rhacs-main-rhel8Not specified
Not affected: from 1779371594 before *, from 1779293013 before *
CVE List
ansible-automation-platform-26/gateway-rhel9Not specified
Not affected: from 1782761510 before *
CVE List
ansible-automation-platform-27/gateway-rhel9Not specified
Not affected: from 1783919486 before *
CVE List
rhdh/rhdh-hub-rhel9Not specified
Not affected: from 1783448184 before *, from 1782761244 before *
CVE List
discovery/discovery-ui-rhel9Not specified
Not affected: from 1782166952 before *
CVE List
rhmtc/openshift-migration-ui-rhel8Not specified
Not affected: from 1783690532 before *
CVE List

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

Axios is a promise based HTTP client for the browser and Node.js. Axios versions 1.7.0 through 1.15.x did not enforce configured request and response size limits when requests were sent with the fetch adapter. Applications that selected adapter: 'fetch', or ran in environments where axios resolved to the fetch adapter, could receive or send bodies larger than maxContentLength or maxBodyLength despite those limits being explicitly configured. This can cause resource exhaustion in server-side usage when a malicious or compromised server returns an oversized response, when an attacker can supply a large data: URL, or when an application forwards attacker-controlled request bodies through axios while relying on maxBodyLength as a boundary. This vulnerability is fixed in 0.32.0 and 1.16.0.

GitHub Advisory Database

Summary

Axios versions 1.7.0 through 1.15.x did not enforce configured request and response size limits when requests were sent with the fetch adapter. Applications that selected adapter: 'fetch', or ran in environments where axios resolved to the fetch adapter, could receive or send bodies larger than maxContentLength or maxBodyLength despite those limits being explicitly configured.

This can cause resource exhaustion in server-side usage when a malicious or compromised server returns an oversized response, when an attacker can supply a large data: URL, or when an application forwards attacker-controlled request bodies through axios while relying on maxBodyLength as a boundary.

Impact

The impact is availability-only. Affected applications may process, buffer, or transmit data beyond the configured limit, potentially exhausting memory, CPU, or network resources.

This does not affect axios’s default unlimited behaviour by itself: maxContentLength and maxBodyLength default to -1. The vulnerability exists when an application has configured finite limits and expects axios to enforce them.

Server-side runtimes are the primary concern. Browser impact is generally constrained by the browser process and browser fetch behavior, and should not be described as server process exhaustion.

Affected Functionality

Affected functionality includes requests using the built-in fetch adapter with finite maxContentLength or maxBodyLength values.

Relevant configurations include:

  • adapter: 'fetch'
  • adapter: ['fetch', ...] when fetch is selected
  • environments where neither xhr nor http is available and axios falls back to fetch
  • custom fetch environments configured through env.fetch

Unaffected functionality includes:

  • Node.js default http adapter enforcement
  • versions before the fetch adapter was introduced
  • configurations that do not rely on finite axios size limits

Technical Details

In vulnerable versions, lib/adapters/fetch.js destructured request config without maxContentLength or maxBodyLength. The adapter dispatched fetch() and then materialized the response through text(), arrayBuffer(), blob(), or related resolvers without checking the configured response limit.

The fix in e5540dc added:

  • maxContentLength and maxBodyLength reads in lib/adapters/fetch.js
  • upfront data: URL decoded-size checks
  • outbound body-size checks before dispatch
  • Content-Length response pre-checks
  • streaming response enforcement
  • fallback checks for environments without ReadableStream
  • regression tests in tests/unit/adapters/fetch.test.js

Proof of Concept of Attack

import http from 'node:http';
import axios from 'axios';

const server = http.createServer((req, res) => {
  let received = 0;

  req.on('data', chunk => {
    received += chunk.length;
  });

  req.on('end', () => {
    res.end(JSON.stringify({ received }));
  });
});

await new Promise(resolve => server.listen(0, resolve));
const url = `http://127.0.0.1:${server.address().port}/`;

await axios.post(url, 'A'.repeat(2 * 1024 * 1024), {
  adapter: 'fetch',
  maxBodyLength: 1024
});

// Vulnerable versions succeed and the server receives 2097152 bytes.
// Fixed versions reject with ERR_BAD_REQUEST.

server.close();

Workarounds

Use the Node.js http adapter for server-side requests where finite size limits are security-relevant.

Validate or cap attacker-controlled request bodies before passing them to axios.

Reject or strictly allowlist attacker-controlled URL schemes, especially data: URLs, before calling axios.

<details> <summary>Original Report</summary>
Summary

When Axios is used with adapter: 'fetch', configured body/response size limits are not enforced. This allows oversized uploads/downloads (including data: URLs) despite explicit limits, which can lead to memory/resource exhaustion in server-side usage.

Details

maxBodyLength and maxContentLength are not applied in the fetch adapter flow:

  • lib/adapters/fetch.js (146-160): config destructuring does not include these controls.
  • lib/adapters/fetch.js (220-234): request is dispatched with fetch() without request-size enforcement.
  • lib/adapters/fetch.js (267-283): response is materialized via text(), arrayBuffer(), blob(), etc. without response-size checks. By contrast, the HTTP adapter enforces both limits.
PoC

Environment:

  • Axios main at commit f7a4ee2
  • Node v24.2.0

Steps:

  1. Start an HTTP server that counts received bytes and echoes {received}.
  2. Send 2 MiB with:
    • adapter: 'fetch'
    • maxBodyLength: 1024
  3. Request a 4 KiB data: URL with:
    • adapter: 'fetch'
    • maxContentLength: 16

Expected secure behavior: both requests rejected. Observed:

  • Upload: success, server received 2097152
  • data: response: success, length 4096
Impact

Type: DoS / resource exhaustion due to limit bypass. Impacted: applications using Axios fetch adapter as a server-side security control boundary for untrusted request/response sizes.

</details>

References

https://github.com/axios/axios/security/advisories/GHSA-777c-7fjr-54vfexploit, mitigation, vendor-advisory, web
https://access.redhat.com/security/cve/CVE-2026-44488vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2487949issue-tracking
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44488.json
https://access.redhat.com/errata/RHSA-2026:42078vendor-advisory
https://access.redhat.com/errata/RHSA-2026:34160vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66545vendor-advisory
https://access.redhat.com/errata/RHSA-2026:66488vendor-advisory
https://access.redhat.com/errata/RHSA-2026:41064vendor-advisory
https://access.redhat.com/errata/RHSA-2026:30651vendor-advisory
https://access.redhat.com/errata/RHSA-2026:36882vendor-advisory
https://access.redhat.com/errata/RHSA-2026:46903vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-44488 changed 2026-09-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-777c-7fjr-54vf changed 2026-09-10CC-BY-4.0
NVDCVE-2026-44488 changed 2026-09-11Public domain