PatchSiren cyber security CVE debrief
CVE-2026-42035 axios CVE debrief
Axios HTTP client vulnerability allows injection of arbitrary HTTP headers due to prototype pollution in lib/adapters/http.js, impacting Node.js applications. Defenders should update Axios, review dependency trees, and implement compensating controls. The vulnerability exists in Axios HTTP adapter and allows an attacker to inject arbitrary HTTP headers into outgoing requests. Axios versions prior to 1.15.1 and 0.31.1 are affected, and defenders should review and validate Axios dependency tree for prototype pollution primitives.
- Vendor
- axios
- Product
- Unknown
- CVSS
- HIGH 7.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-04-24
- Original CVE updated
- 2026-11-11
- Advisory published
- 2026-04-24
- Advisory updated
- 2026-11-11
Who should care
Node.js developers and security teams using Axios should review and update their Axios versions to prevent potential unauthorized data exposure and disruption of service due to injected headers. They should also review compensating controls to monitor and restrict outgoing HTTP requests.
Why it matters
CVE-2026-42035 Axios vulnerability allows injection of arbitrary HTTP headers, impacting Node.js applications. Defenders should update Axios, review dependency trees, and implement compensating controls.
- Potential for unauthorized data exposure
- Possible disruption of service due to injected headers
- Requires verification of Axios versions and dependency tree
- Necessitates monitoring of outgoing HTTP requests
Technical summary
Axios HTTP adapter vulnerability allows injection of arbitrary HTTP headers due to prototype pollution in lib/adapters/http.js. 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. This vulnerability is fixed in 1.15.1 and 0.31.1.
Defensive priority
High priority for Node.js applications using Axios
Recommended defensive actions
- Update Axios to version 1.15.1 or 0.31.1
- Review and validate Axios dependency tree for prototype pollution primitives
- Implement compensating controls to monitor and restrict outgoing HTTP requests
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
The vulnerability exists in Axios HTTP adapter (lib/adapters/http.js) and allows an attacker to inject arbitrary HTTP headers into outgoing requests due to prototype pollution. The Axios HTTP adapter 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.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-42035 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-42035
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-42035 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-42035
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/axios/axios/security/advisories/GHSA-6chq-wfr3-2hj9
[email protected] - Exploit, Mitigation, Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.