CVE-2026-145492: form-data through 4.0.6 CRLF Injection via options.contentType and options.header

Published Dec 5, 2026
·
Updated

form-data through 4.0.6 contains a CRLF injection vulnerability in multiPartHeader that allows attackers to inject multipart part headers via unescaped options.contentType and options.header values. Attackers who influence these values can embed CRLF sequences and the boundary to smuggle extra form fields into multipart requests sent to receiving servers.

Affected Software

1 affected component
npm/form-data<=4.0.6

Event History

Dec 5, 2026
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:20 AM
DescriptionSeverityWeakness
Event
via NVD·03:20 AM

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using npm/form-data through version 4.0.6 are exposed when an attacker can influence the values supplied as options.contentType or options.header for multipart parts. The impact occurs in multipart requests generated by the application and processed by a receiving server.

2

What does an attacker need to exploit it?

An attacker needs control over options.contentType or options.header values. They must be able to include CRLF sequences and the multipart boundary in those values to inject additional multipart part headers and smuggle extra form fields.

3

How can I determine whether my application is affected?

Review uses of form-data that create multipart parts and check whether options.contentType or options.header can be derived from request input or other attacker-controlled data. Versions through 4.0.6 are affected according to the available information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203