Skip to content
OpenAdvisories

Description

axios versions >=1.13.0 (Node.js HTTP adapter) fail to enforce the configured maxBodyLength limit on streamed request bodies when requests are sent with httpVersion: 2. Because Node's HTTP/2 request API does not honor the maxBodyLength option and axios's byte-counting stream wrapper is gated on maxRedirects === 0, an attacker who controls a stream passed to axios can cause the application to transmit outbound data exceeding the configured finite maxBodyLength. Impact is limited to resource consumption and policy bypass (excess egress, upstream quota consumption, limited availability); it does not enable code execution, credential disclosure, or request-destination control. Calls using the default maxBodyLength: -1 and browser adapters are not affected.

Affected products

VendorProductAffectedFixed
axios axios 1.13.0 – < 1.18.0 1.18.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-axios 1.18.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS node-axios No fix yet —
Ubuntu Pro 24.04 LTS node-axios No fix yet —
Ubuntu Pro 22.04 LTS node-axios No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS node-axios No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana13.1 13.1.1-0.5.hum1 RHSA-2026:50826, RHSA-2026:49714

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jitsucom-jitsu-console 2.11.0-r30 —
Wolfi rolling kubeflow-centraldashboard 1.10.0-r26 —
Wolfi rolling langfuse-3 +1 3.223.0-r0 —
Wolfi rolling langfuse-3-compat 3.225.7-r6 —
Wolfi rolling lerna 9.0.7-r11 —
Wolfi rolling nextcloud-server-33 33.0.6-r8 —
Wolfi rolling opensearch-dashboards-3 3.7.0-r11 —
Wolfi rolling prism 5.16.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm axios >= 1.13.0, < 1.18.0 1.18.0 GHSA-mwf2-3pr3-8698

Advisories 3

References