CVE-2026-12143form-data
High 8.7 No auth needed
Follow: this CVE · form-data · form-data We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Jun 12, 2026
- Updated
- Sep 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-93
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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
- Apply the vendor's security update for form-data.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | form-data |
< 2.5.6 |
2.5.6 |
npm install form-data@2.5.6 |
| npm | form-data |
≥ 3.0.0 < 3.0.5 |
3.0.5 |
npm install form-data@3.0.5 |
| npm | form-data |
≥ 4.0.0 < 4.0.6 |
4.0.6 |
npm install form-data@4.0.6 |
Per OSV / GitHub Advisories (GHSA-hmw2-7cc7-3qxx). Check the version in your lockfile before upgrading.
Affected products
- form-data · form-data
- Red Hat · Cryostat 4 on RHEL 9
- Red Hat · Red Hat AMQ Broker 7.13.6
- Red Hat · Red Hat AMQ Broker 7.14.1
- Red Hat · Red Hat Ansible Automation Platform 2.6 for RHEL 9
- Red Hat · Red Hat Data Grid 8.6.2
- Red Hat · Red Hat Enterprise Linux 10
- Red Hat · Cluster Observability Operator 1.5.0
- Red Hat · multicluster engine for Kubernetes 2.1
- Red Hat · multicluster engine for Kubernetes 2.11
- Red Hat · multicluster engine for Kubernetes 2.6
- Red Hat · multicluster engine for Kubernetes 2.8
- Red Hat · multicluster engine for Kubernetes 2.9
- Red Hat · Red Hat Advanced Cluster Management for Kubernetes 2.11
- Red Hat · Red Hat Advanced Cluster Management for Kubernetes 2.13
- Red Hat · Red Hat Advanced Cluster Management for Kubernetes 2.14
- Red Hat · Red Hat Advanced Cluster Management for Kubernetes 2.15
- Red Hat · Red Hat Advanced Cluster Management for Kubernetes 2.16
- Red Hat · Red Hat Advanced Cluster Security 4.9
- Red Hat · Red Hat Advanced Cluster Security for Kubernetes 4.10
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- velociraptor-0.76.7.0.git145.b60ef1146-1.1 on GA media · SUSE · openSUSE-SU-2026:12070-1 · Oct 6, 2026 Critical
- Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update · Red Hat · RHSA-2026:59136 · Aug 25, 2026 High
- Red Hat Security Advisory: rh-podman-desktop security, bug fix, and enhancement update · Red Hat · RHSA-2026:57590 · Aug 21, 2026 High
- Security update for agama-web-ui · SUSE · openSUSE-SU-2026:21448-1 · Jul 27, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- cwe.mitre.org
- github.com
- github.com
- github.com
- github.com
- html.spec.whatwg.org
- www.npmjs.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com