Back to CVE records
High 7.5Published Jun 12, 2026

CVE-2026-12143form-data does not escape CR/LF/quote in multipart field names and filenames (CRLF injection)

Updated under an hour ago ()

Does this affect you?

It affects form-data and 38 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

form-data is a library for creating readable multipart/form-data streams. In versions through 4.0.5, the `field` argument to `FormData#append` and the `filename` option are concatenated verbatim into the `Content-Disposition` header without escaping carriage return (CR), line feed (LF), or double-quote (") characters. An application that passes attacker-controlled data as a field name or filename (for example, an API gateway that turns JSON object keys into multipart field names) allows the attacker to terminate the header line and inject additional headers, or to smuggle entire additional multipart parts, into the request the application forwards to a backend. This can let the attacker add or override form fields (e.g. set `is_admin=true`) seen by the downstream parser. This is an instance of CWE-93 (CRLF injection). The fix escapes CR, LF, and `"` as `%0D`, `%0A`, and `%22` in field names and filenames, matching the serialization browsers use per the WHATWG HTML multipart/form-data encoding algorithm. Exploitation requires the consuming application to use untrusted input as a field name or filename; applications that use only fixed/trusted field names are not affected. Fixed in 2.5.6, 3.0.5, and 4.0.6.

CVSS
7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-93
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
harborist
NVD analysis
Awaiting Analysis
Record last updated
Sep 11, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
form-data form-data
form_data:form_data (from the name)
before 2.5.6; from 3.0.0 before 3.0.5; from 4.0.0 before 4.0.6
CNA record
from 4.2.0-13 not affected
CISA ADP
7.13
CISA ADP
from 0:2.6.13-1.el9ap not affected
CISA ADP
Red Hat Red Hat Data Grid 8.6.2
redhat:jboss_data_grid
8
CISA ADP
from 0:1.1.2-1.el10_2 not affected
CISA ADP
Red Hat Cluster Observability Operator 1.5.0
redhat:cluster_observability_operator
from 1782840519 not affected
CISA ADP
from 1787079364 not affected
CISA ADP
from 1787687062 not affected
CISA ADP
Red Hat Red Hat Advanced Cluster Security 4.9
redhat:advanced_cluster_security
from 1783357116 not affected
CISA ADP

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.