CVE-2026-42035
Axios: Header Injection via Prototype Pollution
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, a prototype pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject arbitrary HTTP headers into outgoing requests. The vulnerability exploits duck-type checking of the data payload, where if Object.prototype is polluted with getHeaders, append, pipe, on, once, and Symbol.toStringTag, Axios misidentifies any plain object payload as a FormData instance and calls the attacker-controlled getHeaders() function, merging the returned headers into the outgoing request. The vulnerable code resides exclusively in lib/adapters/http.js. The prototype pollution source does not need to originate from Axios itself — any prototype pollution primitive in any dependency in the application's dependency tree is sufficient to trigger this gadget. This vulnerability is fixed in 1.15.1 and 0.31.1.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.403% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.4 · published by GitHub_MCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Assessment source · checked 2026-11-19T12:58:31.142Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:31.142Z | CVE Program |
| epss | verified | 2026-11-19T16:04:50.042Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:27.774Z | OSV |
| affected | verified | 2026-11-19T12:58:31.142Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:31.142Z | CVE Program |
Affected versions and configuration
axios axios; default status: unknown: >= 1.0.0, < 1.15.1 [affected; scheme: unspecified]; < 0.31.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "axios",
"product": "axios",
"versions": [
{
"status": "affected",
"version": ">= 1.0.0, < 1.15.1"
},
{
"status": "affected",
"version": "< 0.31.1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-42035",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-04-24T00:00:00+00:00"
}
}
}
],
"references": [
{
"url": "https://github.com/axios/axios/security/advisories/GHSA-6chq-wfr3-2hj9",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-25T03:55:59.169Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-6chq-wfr3-2hj9",
"aliases": [
"CVE-2026-42035"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.0.0"
},
{
"fixed": "1.15.1"
}
]
}
],
"package": {
"name": "axios",
"purl": "pkg:npm/axios",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-6chq-wfr3-2hj9/GHSA-6chq-wfr3-2hj9.json"
}
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.31.1"
}
]
}
],
"package": {
"name": "axios",
"purl": "pkg:npm/axios",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-6chq-wfr3-2hj9/GHSA-6chq-wfr3-2hj9.json",
"last_known_affected_version_range": "<= 0.31.0"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/axios/axios/security/advisories/GHSA-6chq-wfr3-2hj9",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42035",
"type": "ADVISORY"
},
{
"url": "https://github.com/axios/axios",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-113",
"CWE-1321"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-04-24T18:16:30Z",
"github_reviewed_at": "2026-05-05T00:25:47Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | axios | Not a distribution channel | 1.15.1 | Official record |
| ecosystem-boundary | npm / package | axios | Not a distribution channel | 0.31.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:27.774ZArchived source JSON
Source publication: 2026-05-05T00:25:47.000Z
Source modification: 2026-09-10T03:51:04.772ZDocument fingerprint
2a01d04d529e6be530d525ed9839eaa51ce146cfcc611585ec91a9ea2b37bbf2 - CVE ProgramConsulted: 2026-11-19T12:58:31.142ZArchived source JSON
Source publication: 2026-04-24T17:38:07.752Z
Source modification: 2026-04-25T03:55:59.169ZDocument fingerprint
fb744959abaf72321529cb0fcd72ee7a421a3b7d19bf4af2452b1201e3046e7c - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:50.042ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
7e3baeaa25e4f4d3f88d7df0a5c946bd568f06b8497afa562ddc93c71aed8205
Official status history
- UNKNOWN → PUBLISHED · · evidence