PatchSiren cyber security CVE debrief
CVE-2026-42037 axios CVE debrief
Axios vulnerability allows injection of arbitrary MIME part headers into multipart form-data body. This occurs because the FormDataPart constructor in Axios interpolates value.type directly into the Content-Type header of each multipart part without sanitizing CRLF sequences. Defenders of Node.js applications using Axios, particularly those handling user-uploaded files, should assess exposure and prioritize remediation to prevent potential header injection attacks. The vulnerability exists in Axios versions from 1.0.0 to before 1.15.1.
- Vendor
- axios
- Product
- Unknown
- CVSS
- MEDIUM 5.3
- 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
Defenders of Node.js applications using Axios, particularly those handling user-uploaded files, should assess exposure and prioritize remediation to prevent potential header injection attacks. This includes reviewing Axios version, validating and sanitizing user-uploaded file types, and monitoring for suspicious multipart form-data requests.
Why it matters
CVE-2026-42037 allows attackers to inject arbitrary MIME part headers into multipart form-data bodies in Axios versions before 1.15.1. Defenders of Node.js applications using Axios, especially those handling user-uploaded files, should assess exposure and prioritize remediation to prevent potential header injection attacks.
- Potential for arbitrary MIME part header injection
- Bypassing of Node.js v18+ built-in header protections
- Need for validation and sanitization of user-uploaded file types
Technical summary
The FormDataPart constructor in Axios interpolates value.type directly into the Content-Type header of each multipart part without sanitizing CRLF sequences. This allows attackers to inject arbitrary MIME part headers into multipart form-data bodies in Axios versions before 1.15.1. The vulnerability bypasses Node.js v18+ built-in header protections because it targets the multipart body structure, not HTTP request headers. Defenders should assess exposure and prioritize remediation to prevent potential header injection attacks.
Defensive priority
Medium-priority defensive actions recommended
Recommended defensive actions
- Upgrade Axios to version 1.15.1 or later
- Validate and sanitize user-uploaded file types
- Monitor for suspicious multipart form-data requests
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability exists in Axios versions from 1.0.0 to before 1.15.1. An attacker controlling the .type property of a Blob/File-like object can inject arbitrary MIME part headers. This bypasses Node.js v18+ built-in header protections because the injection targets the multipart body structure, not HTTP request headers. Defenders should verify Axios version and review user-uploaded file handling.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-42037 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-42037
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-42037 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-42037
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-445q-vr5w-6q77
[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.