Axios: Header Injection via Inherited headers After Minimal Interceptor
Axios is a promise-based HTTP client for the browser and Node.js. From 1.0.0 until 1.20.0, the dispatchRequest function normalizes inherited Object.prototype.headers from a replacement request configuration. A separate same-process prototype-pollution flaw sets Object.prototype.headers, and trusted request interceptors return a new ordinary configuration without an own headers property. After the interceptor chain, dispatchRequest resolves the inherited headers during normalization. Downstream request processing can observe attacker-controlled headers, including authorization-related values. This issue is fixed in version 1.20.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-101904
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:19 UTC · Revision 1
Source evidence
Axios: Header Injection via Inherited headers After Minimal Interceptor
core-osv · Original sourcePublished 28 Sept 2026, 17:29 UTC
Axios is a promise-based HTTP client for the browser and Node.js. From 1.0.0 until 1.20.0, the dispatchRequest function normalizes inherited Object.prototype.headers from a replacement request configuration. A separate same-process prototype-pollution flaw sets Object.prototype.headers, and trusted request interceptors return a new ordinary configuration without an own headers property. After the interceptor chain, dispatchRequest resolves the inherited headers during normalization. Downstream request processing can observe attacker-controlled headers, including authorization-related values. This issue is fixed in version 1.20.0.
osv:CVE-2026-101904
Complete source record
{
"id": "0b464c3ce8cecd9bba89877ff5ec72065d4c000f5a6c9c4bc7d0f9277f717b0b",
"url": "https://osv.dev/vulnerability/CVE-2026-101904",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Axios: Header Injection via Inherited headers After Minimal Interceptor",
"summary": "Axios is a promise-based HTTP client for the browser and Node.js. From 1.0.0 until 1.20.0, the dispatchRequest function normalizes inherited Object.prototype.headers from a replacement request configuration. A separate same-process prototype-pollution flaw sets Object.prototype.headers, and trusted request interceptors return a new ordinary configuration without an own headers property. After the interceptor chain, dispatchRequest resolves the inherited headers during normalization. Downstream request processing can observe attacker-controlled headers, including authorization-related values. This issue is fixed in version 1.20.0.",
"evidence": "osv:CVE-2026-101904",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-101904",
"aliases": [
"CVE-2026-101904",
"GHSA-j8rh-479h-cp32"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/axios/axios",
"type": "GIT",
"events": [
{
"introduced": "484aa4fe6addccbd32206a31eb3d2d000843066e"
},
{
"fixed": "84a9f3b9a4f3244b8c8e818f557d64c7b964fb25"
},
{
"fixed": "d19040bda7a8be2f82c3c6e1a5bc03917daee39a"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "1.0.0"
},
{
"fixed": "1.20.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "d19040bda7a8be2f82c3c6e1a5bc03917daee39a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "84a9f3b9a4f3244b8c8e818f557d64c7b964fb25"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.20.0"
}
]
}
}
],
"versions": [
"v1.19.0",
"v1.18.1",
"v1.18.0",
"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",
"v1.12.2",
"v1.12.1",
"v1.12.0",
"v1.11.0",
"v1.10.0",
"v1.9.0",
"v1.8.4",
"v1.8.3",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.9",
"v1.7.8",
"v1.7.7",
"v1.7.6",
"v1.7.5",
"v1.7.4",
"v1.7.3",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.7.0-beta.2",
"v1.7.0-beta.1",
"v1.7.0-beta.0",
"v1.6.8",
"v1.6.7",
"v1.6.6",
"v1.6.5",
"v1.6.4",
"v1.6.3",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.1",
"v1.5.0",
"v1.4.0",
"v1.3.6",
"v1.3.5",
"v1.3.4",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.6",
"v1.2.5",
"v1.2.4",
"v1.2.3",
"v1.2.2",
"1.2.2",
"v1.2.1",
"v1.2.0",
"1.2.0-alpha.1",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-101904.json"
}
}
],
"modified": "2026-10-28T02:30:41.536810470Z",
"provider": "osv",
"references": [
"https://github.com/axios/axios/releases/tag/v1.20.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101904.json",
"https://github.com/axios/axios/security/advisories/GHSA-j8rh-479h-cp32",
"https://nvd.nist.gov/vuln/detail/CVE-2026-101904",
"https://github.com/axios/axios/commit/d19040bda7a8be2f82c3c6e1a5bc03917daee39a",
"https://github.com/axios/axios/pull/11141"
],
"provider_metadata": {
"cwe_ids": [
"CWE-1321",
"CWE-74"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101904.json"
}
},
"related_cves": [
{
"value": "CVE-2026-101904",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 508998,
"published_at": "2026-09-28T17:29:10.996+00:00"
}