
CVE catalog
CVE-2026-42035
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 attack
- Severity
- High · CVSS 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-axios | sid | 1.20.0-1 | fixed |
| Debian | node-axios | forky | 1.20.0-1 | fixed |
| Debian | node-axios | trixie | 1.8.4+dfsg-1 | vulnerable |
| Debian | node-axios | bookworm | 1.2.1+dfsg-1+deb12u1 | vulnerable |
| Cpe | node-axios | Not reported | Not reported | vulnerable |
| Cpe | axios | Not reported | 0.31.1 | fixed |
| Cpe | axios | Not reported | 1.15.1 | fixed |
| Npm | axios | Not reported | 0.31.1 | fixed |
| Npm | axios | Not reported | 0.31.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-axios | source | sid | 1.15.2-1 | not yet assigned | Not reported | [1134878] |
| Debian | node-axios | source | forky | 1.15.2-1 | not yet assigned | Not reported | [1134878] |
| Debian | node-axios | source | trixie | (unfixed) | not yet assigned | Not reported | [1134878] |
| Debian | node-axios | source | bookworm | (unfixed) | not yet assigned | Not reported | [1134878] |
| Cpe | axios | cpe | Not reported | 0.31.1 | Not reported | Not reported | Not reported |
| Cpe | axios | cpe | Not reported | 1.15.1 | Not reported | Not reported | Not reported |
| Npm | axios | npm | Not reported | 0.31.1 | Not reported | GHSA-6CHQ-WFR3-2HJ9 | Not reported |
| Npm | axios | npm | Not reported | 0.31.1 | Not reported | Not reported | Not reported |
Notes
[trixie] node-axios: Minor issue [bookworm] node-axios: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-axios]Affected
Details (2)
1.2.1+dfsg-1+deb12u1· all · bookwormAffected
nvd · node-axios · debian · bookworm; nvd · node-axios · debian · 12
1.2.1+dfsg-1+deb12u1· all · bookwormAffected
nvd · node-axios · debian · bookworm; nvd · node-axios · debian · 12
[Debian 13 (Trixie)]
- [node-axios]Affected
Details (2)
1.8.4+dfsg-1· all · trixieAffected
nvd · node-axios · debian · 13
1.8.4+dfsg-1· all · trixieAffected
nvd · node-axios · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-42035]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-42035]
- [https://osv.dev/vulnerability/GHSA-6chq-wfr3-2hj9]
- [https://security-tracker.debian.org/tracker/CVE-2026-42035]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42035.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1450.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]