Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| form-data | form-data | < 2.5.6, 3.0.0 – < 3.0.5, 4.0.0 – < 4.0.6 | 2.5.6 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-form-data | 4.0.6+~2.1.0-1 | — |
| Debian 13 | node-form-data | No fix yet | — |
| Debian 12 | node-form-data | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-form-data | No fix yet | — |
| Ubuntu 26.04 LTS | node-form-data | No fix yet | — |
| Ubuntu 25.10 | node-form-data | No fix yet | — |
| Ubuntu 24.04 LTS | node-form-data | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | node-form-data | No fix yet | — |
| Ubuntu Pro 20.04 LTS | node-form-data | No fix yet | — |
| Ubuntu Pro 18.04 LTS | node-form-data | No fix yet | — |
| Ubuntu Pro 16.04 LTS | node-form-data | No fix yet | — |
| Ubuntu Pro 14.04 LTS | node-form-data | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | rh-podman-desktop | 1.1.2-1.el10_2 | RHSA-2026:57590 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform Developer 2 | automation-controller-cli | 4.7.16-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform Developer 2 | python-django +1 | 5.2.17-1.el10ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform Developer 2 | python3.12-django | 5.2.17-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | automation-controller-cli +1 | 4.7.16-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | 2.6.13-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python-django +1 | 5.2.17-1.el10ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python3.12-aiohttp | 3.14.3-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python3.12-django | 5.2.17-1.el9ap | RHSA-2026:59136 |
| Red Hat Ansible Automation Platform 2 | python3.12-gitpython | 3.1.59-1.el9ap | RHSA-2026:59136 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | velociraptor | 0.76.7.0.git145.b60ef1146-1.1 | openSUSE-SU-2026:12070-1 |
| openSUSE Leap 16.0 | agama-web-ui | 17+673.b97ba64d6-160000.12.1 | openSUSE-SU-2026:21448-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | js-jquery | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | argo-workflows-ui-4.0 | 4.0.6-r1 | — |
| Wolfi rolling | jitsucom-jitsu-console | 2.11.0-r27 | — |
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | kubeflow-centraldashboard | 1.10.0-r24 | — |
| Wolfi rolling | kubeflow-pipelines-apiserver +1 | 2.17.2-r4 | — |
| Wolfi rolling | kubeflow-pipelines-frontend | 2.16.1-r9 | — |
| Wolfi rolling | langfuse-3 +1 | 3.188.0-r0 | — |
| Wolfi rolling | langfuse-3-compat | 3.225.7-r6 | — |
| Wolfi rolling | lerna | 9.0.7-r9 | — |
| Wolfi rolling | nextcloud-server-33 | 33.0.6-r3 | — |
| Wolfi rolling | opensearch-dashboards-3 +2 | 3.7.0-r2 | — |
| Wolfi rolling | opensearch-dashboards-3-dashboards-maps +9 | 3.7.0-r0 | — |
| Wolfi rolling | prism | 5.15.11-r3 | — |
| Wolfi rolling | saf | 1.6.0-r1 | — |
| Wolfi rolling | sqlpad | 7.5.7-r26 | — |
| Wolfi rolling | tileserver-gl | 5.6.0-r6 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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 |
Advisories 11
- WID-SEC-2026-3376 Atlassian Bamboo, Bitbucket, Confluence, Fisheye/Crucible, Jira Software und Jira Service Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 10, 2026
- WID-SEC-2026-2923 Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye, und Jira): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
- RHSA-2026:59136 Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:57590 Red Hat Security Advisory: rh-podman-desktop security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- WID-SEC-2026-3623 IBM DataPower Gateway: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 18, 2026
- NCSC-2026-0431 Kwetsbaarheden verholpen in IBM DataPower Gateway en onderliggende componenten NCSC-NL (Netherlands) · Oct 16, 2026
- openSUSE-SU-2026:12070-1 velociraptor-0.76.7.0.git145.b60ef1146-1.1 on GA media SUSE / openSUSE Security Updates · Oct 7, 2026
- WID-SEC-2026-2488 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 4, 2026
- WID-SEC-2026-2460 Atlassian Bamboo, Bitbucket, Confluence, Fisheye, Crucible, Jira und Jira Service Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 1, 2026
- NCSC-2026-0325 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · Aug 24, 2026
- openSUSE-SU-2026:21448-1 Security update for agama-web-ui SUSE / openSUSE Security Updates · Jul 29, 2026
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