# CVE-2026-12143: form-data does not escape CR/LF/quote in multipart field names and filenames (CRLF injection)

- Severity: High 8.7 (CVSS:4.0, scored by harborist) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-12T18:01:30.362Z
- Modified: 2026-09-11T13:17:04.787Z
- Also known as: GHSA-hmw2-7cc7-3qxx
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: harborist

## 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.

(As written by CVE List.)

## Affected

- form-data: before 2.5.6; from 3.0.0 before 3.0.5; from 4.0.0 before 4.0.6
- cryostat/cryostat-openshift-console-plugin-rhel9: no versions given (not affected: from 4.2.0-13 before *)
- automation-platform-ui: no versions given (not affected: from 0:2.6.13-1.el9ap before *)
- rh-podman-desktop: no versions given (not affected: from 0:1.1.2-1.el10_2 before *)
- cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9: no versions given (not affected: from 1782840519 before *)
- cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9: no versions given (not affected: from 1782839981 before *)
- cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9: no versions given (not affected: from 1782839193 before *)
- cluster-observability-operator/distributed-tracing-console-plugin-rhel9: no versions given (not affected: from 1782838753 before *)
- cluster-observability-operator/logging-console-plugin-pf4-rhel9: no versions given (not affected: from 1782839279 before *)
- cluster-observability-operator/logging-console-plugin-pf5-rhel9: no versions given (not affected: from 1782840539 before *)
- cluster-observability-operator/logging-console-plugin-rhel9: no versions given (not affected: from 1782841925 before *)
- cluster-observability-operator/monitoring-console-plugin-pf5-rhel9: no versions given (not affected: from 1782844225 before *)
- cluster-observability-operator/monitoring-console-plugin-pf6-rhel9: no versions given (not affected: from 1782839658 before *)
- cluster-observability-operator/monitoring-console-plugin-rhel9: no versions given (not affected: from 1782838476 before *)
- cluster-observability-operator/troubleshooting-panel-console-plugin-pf6-rhel9: no versions given (not affected: from 1782839996 before *)
- cluster-observability-operator/troubleshooting-panel-console-plugin-rhel9: no versions given (not affected: from 1782839494 before *)
- multicluster-engine/console-mce-rhel9: no versions given (not affected: from 1787079364 before *; from 1787065052 before *; from 1787264250 before *; from 1787259048 before *; from 1787079359 before *)
- rhacm2/console-rhel9: no versions given (not affected: from 1787687062 before *; from 1787339249 before *; from 1787339248 before *; from 1787341780 before *; from 1787339213 before *)
- advanced-cluster-security/rhacs-main-rhel8: no versions given (not affected: from 1783357116 before *; from 1783357140 before *)
- ansible-automation-platform/automation-portal: no versions given (not affected: from 1787047114 before *)
- ansible-automation-platform/bootc-automation-portal-rhel9: no versions given (not affected: from 1788943531 before *)
- ansible-automation-platform-26/gateway-rhel9: no versions given (not affected: from 1787219751 before *)
- ansible-automation-platform-27/gateway-rhel9: no versions given (not affected: from 1787218409 before *)
- rhdh/rhdh-hub-rhel9: no versions given (not affected: from 1783448184 before *; from 1784210921 before *)
- rhmtc/openshift-migration-ui-rhel8: no versions given (not affected: from 1783690532 before *)
- mta/mta-ui-rhel9: no versions given (not affected: from 1785169013 before *)
- rhoai/odh-dashboard-rhel9: no versions given (not affected: from 1787347991 before *)
- rhoai/odh-mod-arch-automl-rhel9: no versions given (not affected: from 1787250508 before *)
- rhoai/odh-mod-arch-autorag-rhel9: no versions given (not affected: from 1787251550 before *)
- rhoai/odh-mod-arch-gen-ai-rhel9: no versions given (not affected: from 1786611759 before *)
- rhoai/odh-mod-arch-maas-rhel9: no versions given (not affected: from 1787251250 before *)
- rhoai/odh-mod-arch-model-registry-rhel9: no versions given (not affected: from 1787250617 before *)
- openshift4/ose-monitoring-plugin-rhel9: no versions given (not affected: from 1788318661 before *; from 1787736396 before *; from 1787590390 before *; from 1786586789 before *)
- openshift4/ose-agent-installer-ui-rhel9: no versions given (not affected: from 1784724699 before *; from 1784713741 before *; from 1785230147 before *)
- openshift4/ose-console-rhel9: no versions given (not affected: from 1787080892 before *; from 1787014197 before *; from 1786607915 before *)
- odf4/cephcsi-rhel9: no versions given (not affected: from 1786705347 before *; from 1786701839 before *; from 1786627460 before *)
- odf4/cephcsi-rhel9-operator: no versions given (not affected: from 1786706101 before *; from 1786701555 before *; from 1786626399 before *)
- odf4/mcg-core-rhel9: no versions given (not affected: from 1786705558 before *; from 1786702052 before *; from 1786628235 before *)
- odf4/mcg-rhel9-operator: no versions given (not affected: from 1786705646 before *; from 1786702559 before *; from 1786627106 before *)
- odf4/ocs-client-console-rhel9: no versions given (not affected: from 1786706138 before *; from 1786702713 before *; from 1786629761 before *)
- odf4/ocs-client-rhel9-operator: no versions given (not affected: from 1786705741 before *; from 1786702264 before *; from 1786627559 before *)
- odf4/ocs-metrics-exporter-rhel9: no versions given (not affected: from 1786705777 before *; from 1786702448 before *; from 1786687918 before *)
- odf4/ocs-rhel9-operator: no versions given (not affected: from 1786705802 before *; from 1786702276 before *; from 1786629478 before *)
- odf4/odf-cli-rhel9: no versions given (not affected: from 1786705938 before *; from 1786702440 before *; from 1786628142 before *)
- odf4/odf-console-rhel9: no versions given (not affected: from 1786706577 before *; from 1786703071 before *; from 1786628053 before *)
- odf4/odf-cosi-sidecar-rhel9: no versions given (not affected: from 1786706125 before *; from 1786702563 before *; from 1786627382 before *)
- odf4/odf-csi-addons-rhel9-operator: no versions given (not affected: from 1786706177 before *; from 1786702636 before *; from 1786627430 before *)
- odf4/odf-csi-addons-sidecar-rhel9: no versions given (not affected: from 1786706188 before *; from 1786702623 before *; from 1786629076 before *)
- odf4/odf-multicluster-console-rhel9: no versions given (not affected: from 1786706679 before *; from 1786703137 before *; from 1786688215 before *)
- odf4/odf-multicluster-rhel9-operator: no versions given (not affected: from 1786706357 before *; from 1786702716 before *; from 1786628340 before *)
- odf4/odf-must-gather-rhel9: no versions given (not affected: from 1786706612 before *; from 1786702872 before *; from 1786628623 before *)
- odf4/odf-rhel9-operator: no versions given (not affected: from 1786706644 before *; from 1786702949 before *; from 1786632256 before *)
- odf4/odr-rhel9-operator: no versions given (not affected: from 1786706659 before *; from 1786702917 before *; from 1786628935 before *)
- odf4/rook-ceph-rhel9-operator: no versions given (not affected: from 1786706880 before *; from 1786703143 before *; from 1786629548 before *)
- odf4/odf-cloudnative-pg-rhel9-operator: no versions given (not affected: from 1786702315 before *; from 1786631508 before *)
- odf4/odf-external-snapshotter-rhel9-operator: no versions given (not affected: from 1786627469 before *)
- odf4/odf-external-snapshotter-sidecar-rhel9: no versions given (not affected: from 1786644072 before *)
- devspaces/code-rhel9: no versions given (not affected: from 1785245777 before *; from 1787762793 before *)
- devspaces/dashboard-rhel9: no versions given (not affected: from 1784737150 before *)
- openshift-service-mesh/kiali-ossmc-rhel8: no versions given (not affected: from 1781937133 before *)
- and 72 more: see the JSON

## Every score

- harborist: CVSS:4.0 8.7 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/form-data/form-data/security/advisories/GHSA-hmw2-7cc7-3qxx> (exploit, vendor-advisory, web)
- <https://github.com/form-data/form-data/commit/64190db548c0179e37206858e39f27cf513e9435> (patch, web)
- <https://github.com/form-data/form-data/commit/be3f3cf553978bac15a5182f1f3c3d2d38ccf229> (patch, web)
- <https://github.com/form-data/form-data/commit/c7133499c2ee1b80c678e411244f4442bf902045> (patch, web)
- <https://www.npmjs.com/package/form-data> (product, web)
- <https://cwe.mitre.org/data/definitions/93.html> (technical-description)
- <https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data> (technical-description, web)
- <https://access.redhat.com/security/cve/CVE-2026-12143> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2488480> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12143.json>
- <https://access.redhat.com/errata/RHSA-2026:59136> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:48151> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:34342> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57590> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66545> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66488> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60387> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60390> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60388> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60389> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60391> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36319> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36625> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:56338> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:66003> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:59155> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:59153> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41951> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36754> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41929> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41928> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:50300> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60520> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:63047> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44263> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57545> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60446> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:44267> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57801> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:60477> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:48693> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:54770> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:48124> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:62260> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33155> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33160> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33163> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33173> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:33183> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:56431> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:56366> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:57013> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41031> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:42146> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:43052> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:42796> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:41066> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:40262> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:63373> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:63355> (vendor-advisory)
- and 7 more: see the JSON

## Sources

- CVE List: [CVE-2026-12143](https://www.cve.org/CVERecord?id=CVE-2026-12143), CVE Terms of Use, modified 2026-09-11
- GitHub Advisory Database: [GHSA-hmw2-7cc7-3qxx](https://github.com/advisories/GHSA-hmw2-7cc7-3qxx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-12143](https://nvd.nist.gov/vuln/detail/CVE-2026-12143), Public domain, modified 2026-09-11

---

Page: https://cve.day/CVE-2026-12143 · Whole record: https://cve.day/CVE-2026-12143.json · Rebuilt by cve.day 2026-11-25T22:59:24.555Z
