CVE-2026-12143form-data does not escape CR/LF/quote in multipart field names and filenames (CRLF…
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.
What to do
Fixed builds are available from Debian, Red Hat, npm: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-form-data | Fix pending | UBUNTU-CVE-2026-12143 | |
| Ubuntu 26.04 | node-form-data | Under investigation | UBUNTU-CVE-2026-12143 | |
| Ubuntu 25.10 | node-form-data | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-12143 | |
| Ubuntu 24.04 | node-form-data | Under investigation | UBUNTU-CVE-2026-12143 | |
| Ubuntu 22.04 | node-form-data | Fix pending | UBUNTU-CVE-2026-12143 | |
| Ubuntu 20.04 | node-form-data | Fix pending | UBUNTU-CVE-2026-12143 | |
| Ubuntu 18.04 | node-form-data | Fix pending | UBUNTU-CVE-2026-12143 | |
| Ubuntu 16.04 | node-form-data | Fix pending | UBUNTU-CVE-2026-12143 | |
| Ubuntu 14.04 | node-form-data | Fix pending | UBUNTU-CVE-2026-12143 | |
| Debian 14 | node-form-data | Fixed | 4.0.6+~2.1.0-1 | DEBIAN-CVE-2026-12143 |
| Debian 13 | node-form-data | Fix pending | DEBIAN-CVE-2026-12143 | |
| Debian 12 | node-form-data | Fix pending | DEBIAN-CVE-2026-12143 | |
| Red Hat Enterprise Linux 10 | firefox | Not affected | ||
| Red Hat Enterprise Linux 10 | gjs | Not affected | ||
| Red Hat Enterprise Linux 10 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | rh-podman-desktop | Fixed | 0:1.1.2-1.el10_2 | RHSA-2026:57590 |
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox | Not affected | ||
| Red Hat Enterprise Linux 9 | firefox-x11 | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs | Not affected | ||
| Red Hat Enterprise Linux 9 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 9 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-composer | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | dnf-plugin-subscription-manager | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-host | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-8.0-source-built-artifacts | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-dbg-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet-templates-8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet5.0-build-reference-packages | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet8.0 | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-pcp | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | netstandard-targeting-pack-2.1 | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs | Not affected | ||
| Red Hat Enterprise Linux 8 | pcs-snmp | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-cloud-what | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-subscription-manager-rhsm | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-syspurpose | Not affected | ||
| Red Hat Enterprise Linux 8 | rhsm-gtk | Not affected | ||
| Red Hat Enterprise Linux 8 | rhsm-icons | Not affected | ||
| Red Hat Enterprise Linux 8 | subscription-manager | Not affected | ||
| Red Hat Enterprise Linux 8 | subscription-manager-cockpit | Not affected | ||
| Red Hat Enterprise Linux 8 | subscription-manager-initial-setup-addon | Not affected | ||
| Red Hat Enterprise Linux 8 | subscription-manager-migration | Not affected | ||
| Red Hat Enterprise Linux 8 | subscription-manager-plugin-ostree | Not affected | ||
| Red Hat Enterprise Linux 8 | subscription-manager-rhsm-certificates | Not affected | ||
| Red Hat Enterprise Linux 8 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 7 | python-syspurpose | Not affected | ||
| Red Hat Enterprise Linux 7 | rhsm-gtk | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-cockpit | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-gui | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-initial-setup-addon | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-migration | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-plugin-container | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-plugin-ostree | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-rhsm | Not affected | ||
| Red Hat Enterprise Linux 7 | subscription-manager-rhsm-certificates | Not affected | ||
| npm library | form-data | Fixed | 4.0.6 | GHSA-hmw2-7cc7-3qxx |
What the vendor says
As published in the CVE record by harborist, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- form-data: affected: before 2.5.6, 3.0.0 to before 3.0.5, 4.0.0 to before 4.0.6; fixed in
2.5.6,3.0.5,4.0.6
Vendor advisories:
- https://github.com/form-data/form-data/security/advisories/GHSA-hmw2-7cc7-3qxx (vendor-advisory)
- https://github.com/form-data/form-data/commit/64190db548c0179e37206858e39f27cf513e9435 (patch)
- https://github.com/form-data/form-data/commit/be3f3cf553978bac15a5182f1f3c3d2d38ccf229 (patch)
- https://github.com/form-data/form-data/commit/c7133499c2ee1b80c678e411244f4442bf902045 (patch)
References
- https://github.com/form-data/form-data/security/advisories/GHSA-hmw2-7cc7-3qxx
- https://github.com/form-data/form-data/commit/64190db548c0179e37206858e39f27cf513e9435
- https://github.com/form-data/form-data/commit/be3f3cf553978bac15a5182f1f3c3d2d38ccf229
- https://github.com/form-data/form-data/commit/c7133499c2ee1b80c678e411244f4442bf902045
- https://www.npmjs.com/package/form-data
- https://cwe.mitre.org/data/definitions/93.html
- https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.