Home / form-data / form-data / CVE-2026-12143
CVE-2026-12143: is it exploited, and which versions of form-data are affected and fixed?
CVE-2026-12143 is an improper Neutralization of CRLF Sequences vulnerability in form-data. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: form-data before 2.5.6, form-data from 3.0.0 before 3.0.5 and form-data from 4.0.0 before 4.0.6 (GitHub advisory GHSA-hmw2-7cc7-3qxx). Fixed in 2.5.6, 3.0.5 and 4.0.6 (GitHub advisory GHSA-hmw2-7cc7-3qxx). Severity: High (8.7, CVSS 4.0, from harborist).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-12143?
form-data does not escape CR/LF/quote in multipart field names and filenames (CRLF injection)
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.
From the CVE record by harborist, last updated September 11, 2026, 12:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| form-data | form-data | before 2.5.6 from 3.0.0 before 3.0.5 from 4.0.0 before 4.0.6 | 2.5.6, 3.0.5, 4.0.6 |
As the CVE record by harborist states it, last updated September 11, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | form-data | < 2.5.6 | 2.5.6 | GHSA-hmw2-7cc7-3qxx |
| npm | form-data | >= 3.0.0, < 3.0.5 | 3.0.5 | GHSA-hmw2-7cc7-3qxx |
| npm | form-data | >= 4.0.0, < 4.0.6 | 4.0.6 | GHSA-hmw2-7cc7-3qxx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 15, 2026. Summary: form-data: CRLF injection in form-data via unescaped multipart field names and filenames.
How severe is CVE-2026-12143?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | harborist |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | harborist |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-12143 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, June 12, 2026)
- EPSS
- 1.36% probability of exploitation activity in the next 30 days, percentile 72.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-93 Improper Neutralization of CRLF Sequences
Where are the vendor advisories and references?
- GHSA-hmw2-7cc7-3qxx vendor-advisory
- Fix commit (4.0.6) patch
- Fix commit (3.0.5) patch
- Fix commit (2.5.6) patch
- npm: form-data product
- CWE-93 technical-description
- WHATWG HTML: multipart/form-data encoding algorithm technical-description
- https://access.redhat.com/security/cve/CVE-2026-12143 vdb-entry, x_refsource_REDHAT
- RHBZ#2488480 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12143.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:59136 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:48151 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34342 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57590 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66545 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66488 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60387 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60390 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60388 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60389 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60391 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36319 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36625 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56338 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66003 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:59155 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:59153 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41951 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36754 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41929 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41928 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:50300 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60520 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:63047 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:44263 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57545 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60446 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:44267 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57801 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60477 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:48693 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54770 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:48124 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:62260 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:33155 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:33160 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:33163 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:33173 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:33183 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56431 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:56366 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57013 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41031 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42146 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:43052 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42796 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41066 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:40262 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:63373 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:63355 vendor-advisory, x_refsource_REDHAT
Who found and reported it?
- yueyueL (https://github.com/yueyueL) (reporter)
- LJHarb (https://github.com/LJHarb) (remediation developer)
- LJHarb (https://github.com/LJHarb) (coordinator)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 12, 2026
- Published
- June 12, 2026, 18:01 UTC
- CVE record updated
- September 11, 2026, 12:08 UTC by harborist
- NVD
- Awaiting Analysis, last modified September 11, 2026, 13:17 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-12143
Is CVE-2026-12143 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 1.36% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of form-data are affected by CVE-2026-12143?
form-data before 2.5.6, form-data from 3.0.0 before 3.0.5 and form-data from 4.0.0 before 4.0.6, per the GitHub advisory GHSA-hmw2-7cc7-3qxx. The tables above give every range the sources list.
Which version fixes CVE-2026-12143?
2.5.6, 3.0.5 and 4.0.6, per the GitHub advisory GHSA-hmw2-7cc7-3qxx. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-12143?
High (8.7, CVSS 4.0, from harborist). The severity table above shows each score with its source.
Where is the official record of CVE-2026-12143?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.