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

Source: https://aplosec.si/cve/CVE-2026-145492/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-145492

Low 3.7 · Reported · No fix listed · CWE-93 · npm

# form-data through 4.0.6 CRLF Injection via options.contentType and options.header

CVE-2026-145492 · published 2026-12-05

In plain words: this type of bug lets someone inject their own content into data the application builds (injection). No fixed release is listed yet.

## Summary

CVE-2026-145492 affects form-data (npm) <= 4.0.6: CRLF Injection via options.contentType and options.header (CWE-93). No fixed release is listed. CVSS 3.1 base score 3.7 (Low), assigned by VulnCheck. Published 2026-12-05 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [Referencehttps://github.com/form-data/form-data/security/advisories/GHSA-hmw2-7cc7-3qxx](https://github.com/form-data/form-data/security/advisories/GHSA-hmw2-7cc7-3qxx)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/form-data-through-4.0.6-crlf-injection-via-options-contenttype-and-options-header](https://www.vulncheck.com/advisories/form-data-through-4.0.6-crlf-injection-via-options-contenttype-and-options-header)

- [Vulnerable codehttps://github.com/form-data/form-data/blob/v4.0.6/lib/form_data.js#L190-L222](https://github.com/form-data/form-data/blob/v4.0.6/lib/form_data.js#L190-L222)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-145492](https://www.cve.org/CVERecord?id=CVE-2026-145492)

**Severity:** Low 3.7 CVSS 3.1, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-145492)

**Package:** form-data

**Ecosystem:** npm

**Affected:** <= 4.0.6

**Fixed:** None

**Weakness:** CWE-93

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
