
CVE catalog
CVE-2026-12143
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
- Severity
- High · CVSS 8.7
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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.67% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-form-data | sid | 4.0.6+~2.1.0-1 | fixed |
| Debian | node-form-data | forky | 4.0.6+~2.1.0-1 | fixed |
| Debian | node-form-data | trixie | 4.0.1-2 | vulnerable |
| Debian | node-form-data | bookworm | 4.0.0-1+deb12u1 | vulnerable |
| Cpe | node-form-data | Not reported | Not reported | vulnerable |
| Npm | form-data | Not reported | 4.0.6 | fixed |
| Npm | form-data | Not reported | 3.0.5 | fixed |
| Npm | form-data | Not reported | 4.0.6 | fixed |
| Opensuse | velociraptor | tumbleweed | 0.76.7.0.git145.b60ef1146-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-form-data | source | sid | 4.0.6+~2.1.0-1 | not yet assigned | Not reported | [1139959] |
| Debian | node-form-data | source | forky | 4.0.6+~2.1.0-1 | not yet assigned | Not reported | [1139959] |
| Debian | node-form-data | source | trixie | (unfixed) | not yet assigned | Not reported | [1139959] |
| Debian | node-form-data | source | bookworm | (unfixed) | not yet assigned | Not reported | [1139959] |
| Npm | form-data | npm | Not reported | 4.0.6 | Not reported | GHSA-HMW2-7CC7-3QXX | Not reported |
| Npm | form-data | npm | Not reported | 3.0.5 | Not reported | Not reported | Not reported |
| Npm | form-data | npm | Not reported | 4.0.6 | Not reported | Not reported | Not reported |
| Opensuse | velociraptor | rpm | tumbleweed | 0.76.7.0.git145.b60ef1146-1.1 | Not reported | OPENSUSE-SU-2026:12070-1 | Not reported |
Notes
[trixie] node-form-data: Minor issue [bookworm] node-form-data: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-form-data]Affected
Details (2)
4.0.0-1+deb12u1· all · bookwormAffected
nvd · node-form-data · debian · bookworm; nvd · node-form-data · debian · 12
4.0.0-1+deb12u1· all · bookwormAffected
nvd · node-form-data · debian · bookworm; nvd · node-form-data · debian · 12
[Debian 13 (Trixie)]
- [node-form-data]Affected
Details (2)
4.0.1-2· all · trixieAffected
nvd · node-form-data · debian · 13
4.0.1-2· all · trixieAffected
nvd · node-form-data · debian · 13
[openSUSE Tumbleweed]
- [velociraptor]Affected
Source package: [velociraptor]
Details (1)
0.7.0.4.git185.a5708584-2.3· x86_64 · tumbleweedAffected · Fixed:
0.76.7.0.git145.b60ef1146-1.1nvd · velociraptor · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_21448-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-12143]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-12143]
- [https://osv.dev/vulnerability/GHSA-hmw2-7cc7-3qxx]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:12070-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-12143]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12143.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2460.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]