axios 1.13.0 before 1.18.0 maxBodyLength Bypass via HTTP/2
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-67318
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 04:32 UTC · Revision 1
Source evidence
axios 1.13.0 before 1.18.0 maxBodyLength Bypass via HTTP/2
core-osv · Original sourcePublished 1 Aug 2026, 12:22 UTC
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.
osv:CVE-2026-67318
Complete source record
{
"id": "79e608fe7246c953b7d3540cde728e394af8b7c97faae51f6795896354aa76e9",
"url": "https://osv.dev/vulnerability/CVE-2026-67318",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "axios 1.13.0 before 1.18.0 maxBodyLength Bypass via HTTP/2",
"summary": "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.",
"evidence": "osv:CVE-2026-67318",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-67318",
"aliases": [
"CVE-2026-67318",
"GHSA-mwf2-3pr3-8698"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/axios/axios",
"type": "GIT",
"events": [
{
"introduced": "9ead04d8abbcd53718dbc31b1250ea74300921c8"
},
{
"fixed": "2d06f96e8602c2db13b65a26340ee4a1bbc0b61f"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.13.0"
},
{
"fixed": "1.18.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"cpe": "cpe:2.3:a:axios:axios:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "1.13.0"
},
{
"fixed": "1.18.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.17.0",
"v1.16.1",
"v1.16.0",
"v1.15.2",
"v1.15.1",
"v1.15.0",
"v1.14.0",
"v1.13.6",
"v1.13.5",
"v1.13.4",
"v1.13.3",
"v1.13.2",
"v1.13.1",
"v1.13.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-67318.json"
}
}
],
"modified": "2026-10-28T02:30:25.672009846Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67318.json",
"https://github.com/axios/axios/security/advisories/GHSA-mwf2-3pr3-8698",
"https://nvd.nist.gov/vuln/detail/CVE-2026-67318",
"https://www.vulncheck.com/advisories/axios-before-maxbodylength-bypass-via-http-2"
],
"provider_metadata": {
"cwe_ids": [
"CWE-400"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67318.json"
}
},
"related_cves": [
{
"value": "CVE-2026-67318",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492465,
"published_at": "2026-08-01T12:22:18.116+00:00"
}