cve.bz

CVE-2026-12143 form-data form-data: CRLF Injection

8.7 highEPSS 1.5%Fix available

High (8.7) in form-data form-data. EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in form-data 2.5.6, 3.0.5, 4.0.6.

On this page
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.

Severity

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

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
EPSS
1.5% (up from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 75th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-06-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-93 Improper Neutralization of CRLF Sequences (CRLF Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-12143 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-12143?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-12143?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-12143 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
form-databefore 2.5.6
form-datafrom 3.0.0 before 3.0.5
form-datafrom 4.0.0 before 4.0.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hmw2-7cc7-3qxxnpmform-data<2.5.62.5.6
GHSA-hmw2-7cc7-3qxxnpmform-data>=3.0.0 <3.0.53.0.5
GHSA-hmw2-7cc7-3qxxnpmform-data>=4.0.0 <4.0.64.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-form-datano fix listedDEBIAN-CVE-2026-12143
Debian14node-form-data4.0.6+~2.1.0-1DEBIAN-CVE-2026-12143
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 6 morenode-form-datano fix listedUBUNTU-CVE-2026-12143
Red Hatansible_automation_platform:2.6::el9automation-controller-cli, automation-controller-venv-tower0:4.7.16-1.el9apRHSA-2026:59136
Red Hatansible_automation_platform:2.6::el9automation-platform-ui0:2.6.13-1.el9apRHSA-2026:59136
Red Hatansible_automation_platform:2.6::el9python3.12-aiohttp, python3.12-aiohttp-debuginfo, python3.12-aiohttp-debugsource0:3.14.3-1.el9apRHSA-2026:59136
Red Hatansible_automation_platform:2.6::el9python3.12-gitpython0:3.1.59-1.el9apRHSA-2026:59136
Red Hatansible_automation_platform:2.6::el9, ansible_automation_platform_developer:2.6::el9python3.12-django0:5.2.17-1.el9apRHSA-2026:59136
Red Hatansible_automation_platform:2.6::el10, ansible_automation_platform_developer:2.6::el10python-django, python3-django0:5.2.17-1.el10apRHSA-2026:59136
Red Hatansible_automation_platform_developer:2.6::el9automation-controller-cli0:4.7.16-1.el9apRHSA-2026:59136
Red Hatenterprise_linux:10.2rh-podman-desktop0:1.1.2-1.el10_2RHSA-2026:57590
openSUSELeap 16.0agama-web-ui17+673.b97ba64d6-160000.12.1openSUSE-SU-2026:21448-1
openSUSETumbleweedvelociraptor0.76.7.0.git145.b60ef1146-1.1openSUSE-SU-2026:12070-1
Azure Linux3js-jqueryno fix listedAZL-90099

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important impact flaw in the form-data library: a remote attacker can inject arbitrary headers or additional multipart parts via CRLF injection in field names or filenames, potentially overriding sensitive form fields and affecting data integrity.

For RHOAI and RHEL AI, severity is Moderate because affected versions appear only as a transitive npm dependency in RHOAI (dashboard, mod-arch plugins, MLflow UI) and RHEL AI 3.4 bootc images, and those products use fixed field names for uploads rather than passing untrusted user input as multipart field names or filenames. The documented exploit path is therefore not reachable in default deployments. Practical impact is limited to non-default or custom integrations that forward multipart requests using attacker-controlled field names.

Red Hat's mitigation

Applications using the `form-data` library should implement strict input validation and sanitization for all field names and filenames derived from untrusted sources. This prevents the injection of control characters (CR, LF, ") that could lead to header injection or form field overrides. Deployments that exclusively use fixed or trusted field names are not impacted.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-openshift-console-plugin-rhel9:4.2.0-13Fixed 2026-07-29RHSA-2026:48151
Red Hat AMQ Broker 7.13.6form-dataFixed 2026-09-10RHSA-2026:66545
Red Hat AMQ Broker 7.14.1form-dataFixed 2026-09-10RHSA-2026:66488
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-platform-ui-0:2.6.13-1.el9apFixed 2026-08-24RHSA-2026:59136
Red Hat Data Grid 8.6.2form-dataFixed 2026-07-20RHSA-2026:41951
Red Hat Enterprise Linux 10rh-podman-desktop-0:1.1.2-1.el10_2Fixed 2026-08-20RHSA-2026:57590
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1782840519Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9:1782839981Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9:1782839193Fixed 2026-07-01RHSA-2026:34342
Cluster Observability Operator 1.5cluster-observability-operator/distributed-tracing-console-plugin-rhel9:1782838753Fixed 2026-07-01RHSA-2026:34342
Cryostat 4cryostat-openshift-console-plugin-npmNot affected
Cryostat 4form-dataNot affected
Migration Toolkit for Applications 8mta/mta-ui-rhel8Not affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-pf4-rhel9Affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-pf5-rhel9Affected
Network Observability Operatornetwork-observability/network-observability-console-plugin-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorAffected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Affected
202 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-12143.

Attack patterns (CAPEC)

  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON