Skip to main content
← All vulnerabilities
CVE-2026-42037GHSA-445Q-VR5W-6Q77

Axios: CRLF Injection in multipart/form-data body via unsanitized blob.type in formDataToStream

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.15.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.15.1, the FormDataPart constructor in lib/helpers/formDataToStream.js interpolates value.type directly into the Content-Type header of each multipart part without sanitizing CRLF (\r\n) sequences. An attacker who controls the .type property of a Blob/File-like object (e.g., via a user-uploaded file in a Node.js proxy service) can inject arbitrary MIME part headers into the multipart form-data body. This bypasses Node.js v18+ built-in header protections because the injection targets the multipart body structure, not HTTP request headers. This vulnerability is fixed in 1.15.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • axios axios

    From 1.0.0 · fixed in 1.15.1

  • axiosnpm

    From 1.0.0 · fixed in 1.15.1

References 1

GitHub · axios/axios