CVE-2026-42035Axios: Header Injection via Prototype Pollution
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.4% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.4%
- percentile 28%
- Fix
- Named by a source
- CVE published 24 Apr 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.4% (+0) · Public exploit or proof of concept (+15) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
- axios (npm): upgrade to 1.15.1 / 0.31.1 or later on your release line.
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-42035
Who should check
axios (npm) pkg:npm/axios
- Affected>= 1.0.0, < 1.15.1Fixed in1.15.1OSV (GHSA-6chq-wfr3-2hj9)
- Affected< 0.31.1Fixed in0.31.1OSV (GHSA-6chq-wfr3-2hj9)
axios axios product:axios/axios
- Affected>= 1.0.0, < 1.15.1Affected range ends before1.15.1as published by CNA (CVE List)
- Affected< 0.31.1Affected range ends before0.31.1as published by CNA (CVE List)
- Affected< 0.31.1Affected range ends before0.31.1as published by CPE data (via the NVD API)
- Affected>= 1.0.0, < 1.15.1Affected range ends before1.15.1as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 7.4 HIGH (version 3.1)
- Score from
- CNA ([email protected])
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-113, CWE-1321
- Exploitation (CISA SSVC)
- poc
- Automatable (CISA SSVC)
- no
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 24 Apr 2026Published
References
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-42035 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-6chq-wfr3-2hj9 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 9 min ago · osv 9 min ago · nvd 70 min ago · epss 9 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-6chq-wfr3-2hj9