Skip to content
8.7 High

CVE-2026-12143 form-data is a library for creating readable multipart/form-data streams

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 and versions

Product Affected versions Fixed in
form-data 4.0 4.0.0 → < 4.0.6 4.0.6
form-data 3.0 3.0.0 → < 3.0.5 3.0.5
form-data 2.5 earliest → < 2.5.6 2.5.6
Red Hat OpenShift Service Mesh 2.6 1782287580 earliest → < 1782287580 1782287580
Red Hat OpenShift Service Mesh 3.0 1782201833 earliest → < 1782201833 1782201833
Red Hat OpenShift Service Mesh 3.1 1782201537 earliest → < 1782201537 1782201537
Red Hat OpenShift Service Mesh 3.2 1782201812 earliest → < 1782201812 1782201812
Red Hat OpenShift Service Mesh 3.3 1782201466 earliest → < 1782201466 1782201466
Cryostat 4 Versions not published
Show the 94 other branches
Product Affected versions Fixed in
Migration Toolkit for Applications 8 Versions not published
Migration Toolkit for Containers Versions not published
Network Observability Operator Versions not published
Node HealthCheck Operator Versions not published
OpenShift Pipelines Versions not published
Red Hat 3scale API Management Platform 2 Versions not published
Red Hat Advanced Cluster Security 4 Versions not published
Red Hat AMQ Broker 7 Versions not published
Red Hat build of Apache Camel - HawtIO 4 Versions not published
Red Hat build of Apicurio Registry 3 Versions not published
Red Hat Data Grid 8 Versions not published
Red Hat Developer Hub Versions not published
Red Hat Enterprise Linux AI (RHEL AI) 3 Versions not published
Red Hat Fuse 7 Versions not published
Red Hat Hardened Images Versions not published
Red Hat JBoss Enterprise Application Platform 7 Versions not published
Red Hat JBoss Enterprise Application Platform 8 Versions not published
Red Hat JBoss Enterprise Application Platform Expansion Pack Versions not published
Red Hat OpenShift AI (RHOAI) Versions not published
Red Hat OpenShift Container Platform 4 Versions not published
Red Hat Openshift Data Foundation 4 Versions not published
Red Hat OpenShift Dev Spaces Versions not published
Red Hat OpenShift GitOps Versions not published
Red Hat OpenShift Virtualization 4 Versions not published
Red Hat Quay 3 Versions not published
Red Hat Trusted Artifact Signer Versions not published
Red Hat Trusted Profile Analyzer Versions not published
OpenShift Service Mesh 3 Versions not published
Red Hat build of Apache Camel for Spring Boot 4 Versions not published
Multicluster Engine for Kubernetes Versions not published
Red Hat Advanced Cluster Management for Kubernetes 2 Versions not published
Red Hat Ansible Automation Platform 2 Versions not published
Red Hat Build of Podman Desktop Versions not published
Red Hat Build of Podman Desktop - Tech Preview Versions not published
Red Hat Discovery 2 Versions not published
Red Hat Enterprise Linux 10 Versions not published
Red Hat Enterprise Linux 7 Versions not published
Red Hat Enterprise Linux 8 Versions not published
Red Hat Enterprise Linux 9 Versions not published
Red Hat Satellite 6 Versions not published
Self-service automation portal 2 Versions not published
Cluster Observability Operator 1.5.0 1782839494 earliest → < 1782839494 1782839494
Red Hat Advanced Cluster Security for Kubernetes 4.10 1783357140 earliest → < 1783357140 1783357140
Red Hat Advanced Cluster Security for Kubernetes 4.9 1783357116 earliest → < 1783357116 1783357116
Red Hat Developer Hub 1.10 1783448184 earliest → < 1783448184 1783448184
Red Hat OpenShift Service Mesh 3 1782201833 earliest → < 1782201833 1782201833
Red Hat Quay 3.9 1784125838 earliest → < 1784125838 1784125838
Red Hat Quay 3.10 1783750447 earliest → < 1783750447 1783750447
Red Hat Quay 3.16 1783955846 earliest → < 1783955846 1783955846
Red Hat Advanced Cluster Security 4.9 1783357116 earliest → < 1783357116 1783357116
Red Hat Quay 3.1 1783750447 earliest → < 1783750447 1783750447
Red Hat Data Grid 8.6.2 Versions not published
Red Hat Developer Hub 1.9 1784210921 earliest → < 1784210921 1784210921
Red Hat Migration Toolkit 1.8 1783690532 earliest → < 1783690532 1783690532
Red Hat Quay 3.12 1784353904 earliest → < 1784353904 1784353904
Red Hat Quay 3.12 1783751865 earliest → < 1783751865 1783751865
Red Hat Quay 3.15 1784351966 earliest → < 1784351966 1784351966
Red Hat OpenShift Container Platform 4.21 1787590390 earliest → < 1787590390 1787590390
Red Hat OpenShift Container Platform 4.20 1787736396 earliest → < 1787736396 1787736396
Cryostat 4 on RHEL 9 4.2 earliest → < 4.2.0-13 4.2.0-13
Red Hat OpenShift Dev Spaces 3.29 1784737150 earliest → < 1784737150 1784737150
Red Hat OpenShift Container Platform 4.2 1787736396 earliest → < 1787736396 1787736396
Red Hat Migration Toolkit for Applications 8.1 1785169013 earliest → < 1785169013 1785169013
Red Hat OpenShift Container Platform 4.22 1786586789 earliest → < 1786586789 1786586789
Red Hat Migration Toolkit for Containers 1.8 1783690532 earliest → < 1783690532 1783690532
Red Hat Ansible Automation Platform 2.6 for RHEL 9 Versions not published
multicluster engine for Kubernetes 2.10 1787079364 earliest → < 1787079364 1787079364
multicluster engine for Kubernetes 2.11 1787065052 earliest → < 1787065052 1787065052
multicluster engine for Kubernetes 2.6 1787264250 earliest → < 1787264250 1787264250
multicluster engine for Kubernetes 2.8 1787259048 earliest → < 1787259048 1787259048
multicluster engine for Kubernetes 2.9 1787079359 earliest → < 1787079359 1787079359
Red Hat Advanced Cluster Management for Kubernetes 2.11 1787687062 earliest → < 1787687062 1787687062
Red Hat Advanced Cluster Management for Kubernetes 2.13 1787339249 earliest → < 1787339249 1787339249
Red Hat Advanced Cluster Management for Kubernetes 2.14 1787339248 earliest → < 1787339248 1787339248
Red Hat Advanced Cluster Management for Kubernetes 2.15 1787341780 earliest → < 1787341780 1787341780
Red Hat Advanced Cluster Management for Kubernetes 2.16 1787339213 earliest → < 1787339213 1787339213
Red Hat Ansible Automation Platform 2.1 1787047114 earliest → < 1787047114 1787047114
Red Hat Ansible Automation Platform 2.6 1787219751 earliest → < 1787219751 1787219751
Red Hat Ansible Automation Platform 2.7 1787218409 earliest → < 1787218409 1787218409
Red Hat OpenShift AI 3.4 1787250617 earliest → < 1787250617 1787250617
Red Hat Openshift Data Foundation 4.18 1786706880 earliest → < 1786706880 1786706880
Red Hat Openshift Data Foundation 4.19 1786703143 earliest → < 1786703143 1786703143
Red Hat Openshift Data Foundation 4.2 1786629548 earliest → < 1786629548 1786629548
Cluster Observability Operator 1.5.2 1782839494 earliest → < 1782839494 1782839494
Red Hat OpenShift Dev Spaces 3.30 1787762793 earliest → < 1787762793 1787762793
Red Hat Satellite 6.19 1788260941 earliest → < 1788260941 1788260941
Self-service automation portal 2.1 1787047114 earliest → < 1787047114 1787047114
multicluster engine for Kubernetes 2.1 1787079364 earliest → < 1787079364 1787079364
Red Hat Satellite 6.18 1788322243 earliest → < 1788322243 1788322243
Red Hat OpenShift Container Platform 4.19 1788318661 earliest → < 1788318661 1788318661
Red Hat Ansible Automation Platform 2.2 1788943531 earliest → < 1788943531 1788943531
Red Hat Openshift Data Foundation 4.20 1786629548 earliest → < 1786629548 1786629548
Red Hat AMQ Broker 7.13.6 Versions not published
Red Hat AMQ Broker 7.14.1 Versions not published

References

Timeline

  1. Published
  2. Last modified
Track this CVE