Skip to content

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

HighCVSS 8.7 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

253 packages: 17 fixed, 5 partially fixed, 223 with no fix yet.

PackageAffectedFixed inStatus
azure linux python-tensorboard(Azure Linux 3.0) All versions No fix listed No fix yet
debian/node-form-data(Debian 12) = 4.0.0-1; = 4.0.0-1+deb12u1; = 4.0.1-1; = 4.0.1-2 +4 more No fix listed No fix yet
debian/node-form-data(Debian 13) = 4.0.1-2; = 4.0.4+~2.1.0-1; = 4.0.5+~2.1.0-1; = 4.0.6+~2.1.0-1 +1 more No fix listed No fix yet
redhat apache camel hawtio All versions No fix listed No fix yet
redhat enterprise linux ai All versions No fix listed No fix yet
redhat jboss enterprise application platform = 8; All versions No fix listed No fix yet
redhat jbosseapxp All versions No fix listed No fix yet
redhat network observ optr All versions No fix listed No fix yet
redhat openshift gitops All versions No fix listed No fix yet
redhat openshift pipelines All versions No fix listed No fix yet
redhat podman desktop All versions No fix listed No fix yet
redhat red hat 3scale amp = 2; All versions No fix listed No fix yet
redhat trusted artifact signer All versions No fix listed No fix yet
redhat trusted profile analyzer All versions No fix listed No fix yet
redhat workload availability nhc All versions No fix listed No fix yet
redhat/3scale-amp2/system-rhel8(Red Hat 3scale 2.13) All versions No fix listed No fix yet
redhat/3scale-amp2/system-rhel9(Red Hat 3scale 2.13) All versions No fix listed No fix yet
redhat/advanced-cluster-security/rhacs-main-rhel8:1783357116(Red Hat advanced_cluster_security 4.9 el8) All versions No fix listed No fix yet
redhat/advanced-cluster-security/rhacs-main-rhel8:1783357140(Red Hat advanced_cluster_security 4.10 el8) All versions No fix listed No fix yet
redhat/ansible-automation-platform-26/gateway-rhel9:1787219751(Red Hat ansible_automation_platform 2.6 el9) All versions No fix listed No fix yet
redhat/ansible-automation-platform-27/gateway-rhel9:1787218409(Red Hat ansible_automation_platform 2.7 el9) All versions No fix listed No fix yet
redhat/ansible-automation-platform/automation-portal:1787047114(Red Hat ansible_portal 2.1) All versions No fix listed No fix yet
redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1788943531(Red Hat ansible_portal 2.2 el9) All versions No fix listed No fix yet
redhat/automation-gateway(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/automation-hub(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1782840519(Red Hat cluster_observability_operator 1.5 el9) All versions No fix listed No fix yet
redhat/cluster-observability-operator/distributed-tracing-console-plugin-pf5-rhel9:1782839981(Red Hat cluster_observability_operator 1.5 el9) All versions No fix listed No fix yet
redhat/cluster-observability-operator/distributed-tracing-console-plugin-pf6-rhel9:1782839193(Red Hat cluster_observability_operator 1.5 el9) All versions No fix listed No fix yet
redhat/cluster-observability-operator/distributed-tracing-console-plugin-rhel9:1782838753(Red Hat cluster_observability_operator 1.5 el9) All versions No fix listed No fix yet
redhat/cluster-observability-operator/logging-console-plugin-pf4-rhel9:1782839279(Red Hat cluster_observability_operator 1.5 el9) All versions No fix listed No fix yet

… and 223 more packages.

Affected products

ProductAffected versionsFixed in
npm form-data(npm) < 2.5.6 2.5.6
npm form-data(npm) >= 3.0.0, < 3.0.5 3.0.5
npm form-data(npm) >= 4.0.0, < 4.0.6 4.0.6
redhat cryostat < 4.2.0-13 4.2.0-13
redhat amq broker = 7.13 No fix listed
redhat amq broker = 7.14 No fix listed
redhat ansible automation platform < 0:2.6.13-1.el9ap 0:2.6.13-1.el9ap
redhat jboss data grid = 8 No fix listed
redhat enterprise linux < 0:1.1.2-1.el10_2 0:1.1.2-1.el10_2
redhat cluster observability operator < 1782840519 1782840519
redhat cluster observability operator < 1782839981 1782839981
redhat cluster observability operator < 1782839193 1782839193
redhat cluster observability operator < 1782838753 1782838753
redhat cluster observability operator < 1782839279 1782839279
redhat cluster observability operator < 1782840539 1782840539
redhat cluster observability operator < 1782841925 1782841925
redhat cluster observability operator < 1782844225 1782844225
redhat cluster observability operator < 1782839658 1782839658
redhat cluster observability operator < 1782838476 1782838476
redhat cluster observability operator < 1782839996 1782839996
redhat cluster observability operator < 1782839494 1782839494
redhat multicluster engine < 1787079364 1787079364
redhat multicluster engine < 1787065052 1787065052
redhat multicluster engine < 1787264250 1787264250
redhat multicluster engine < 1787259048 1787259048
Show 175 more
ProductAffected versionsFixed in
redhat multicluster engine < 1787079359 1787079359
redhat acm < 1787687062 1787687062
redhat acm < 1787339249 1787339249
redhat acm < 1787339248 1787339248
redhat acm < 1787341780 1787341780
redhat acm < 1787339213 1787339213
redhat advanced cluster security < 1783357116 1783357116
redhat advanced cluster security < 1783357140 1783357140
redhat ansible portal < 1787047114 1787047114
redhat ansible portal < 1788943531 1788943531
redhat ansible automation platform < 1787219751 1787219751
redhat ansible automation platform < 1787218409 1787218409
redhat rhdh < 1783448184 1783448184
redhat rhdh < 1784210921 1784210921
redhat rhmt < 1783690532 1783690532
redhat migration toolkit applications < 1785169013 1785169013
redhat openshift ai < 1787347991 1787347991
redhat openshift ai < 1787250508 1787250508
redhat openshift ai < 1787251550 1787251550
redhat openshift ai < 1786611759 1786611759
redhat openshift ai < 1787251250 1787251250
redhat openshift ai < 1787250617 1787250617
redhat openshift < 1788318661 1788318661
redhat openshift < 1784724699 1784724699
redhat openshift < 1787080892 1787080892
redhat openshift < 1787736396 1787736396
redhat openshift < 1784713741 1784713741
redhat openshift < 1787014197 1787014197
redhat openshift < 1787590390 1787590390
redhat openshift < 1785230147 1785230147
redhat openshift < 1786607915 1786607915
redhat openshift < 1786586789 1786586789
redhat openshift data foundation < 1786705347 1786705347
redhat openshift data foundation < 1786706101 1786706101
redhat openshift data foundation < 1786705558 1786705558
redhat openshift data foundation < 1786705646 1786705646
redhat openshift data foundation < 1786706138 1786706138
redhat openshift data foundation < 1786705741 1786705741
redhat openshift data foundation < 1786705777 1786705777
redhat openshift data foundation < 1786705802 1786705802
redhat openshift data foundation < 1786705938 1786705938
redhat openshift data foundation < 1786706577 1786706577
redhat openshift data foundation < 1786706125 1786706125
redhat openshift data foundation < 1786706177 1786706177
redhat openshift data foundation < 1786706188 1786706188
redhat openshift data foundation < 1786706679 1786706679
redhat openshift data foundation < 1786706357 1786706357
redhat openshift data foundation < 1786706612 1786706612
redhat openshift data foundation < 1786706644 1786706644
redhat openshift data foundation < 1786706659 1786706659
redhat openshift data foundation < 1786706880 1786706880
redhat openshift data foundation < 1786701839 1786701839
redhat openshift data foundation < 1786701555 1786701555
redhat openshift data foundation < 1786702052 1786702052
redhat openshift data foundation < 1786702559 1786702559
redhat openshift data foundation < 1786702713 1786702713
redhat openshift data foundation < 1786702264 1786702264
redhat openshift data foundation < 1786702448 1786702448
redhat openshift data foundation < 1786702276 1786702276
redhat openshift data foundation < 1786702440 1786702440
redhat openshift data foundation < 1786702315 1786702315
redhat openshift data foundation < 1786703071 1786703071
redhat openshift data foundation < 1786702563 1786702563
redhat openshift data foundation < 1786702636 1786702636
redhat openshift data foundation < 1786702623 1786702623
redhat openshift data foundation < 1786703137 1786703137
redhat openshift data foundation < 1786702716 1786702716
redhat openshift data foundation < 1786702872 1786702872
redhat openshift data foundation < 1786702949 1786702949
redhat openshift data foundation < 1786702917 1786702917
redhat openshift data foundation < 1786703143 1786703143
redhat openshift data foundation < 1786627460 1786627460
redhat openshift data foundation < 1786626399 1786626399
redhat openshift data foundation < 1786628235 1786628235
redhat openshift data foundation < 1786627106 1786627106
redhat openshift data foundation < 1786629761 1786629761
redhat openshift data foundation < 1786627559 1786627559
redhat openshift data foundation < 1786687918 1786687918
redhat openshift data foundation < 1786629478 1786629478
redhat openshift data foundation < 1786628142 1786628142
redhat openshift data foundation < 1786631508 1786631508
redhat openshift data foundation < 1786628053 1786628053
redhat openshift data foundation < 1786627382 1786627382
redhat openshift data foundation < 1786627430 1786627430
redhat openshift data foundation < 1786629076 1786629076
redhat openshift data foundation < 1786627469 1786627469
redhat openshift data foundation < 1786644072 1786644072
redhat openshift data foundation < 1786688215 1786688215
redhat openshift data foundation < 1786628340 1786628340
redhat openshift data foundation < 1786628623 1786628623
redhat openshift data foundation < 1786632256 1786632256
redhat openshift data foundation < 1786628935 1786628935
redhat openshift data foundation < 1786629548 1786629548
redhat openshift devspaces < 1785245777 1785245777
redhat openshift devspaces < 1784737150 1784737150
redhat openshift devspaces < 1787762793 1787762793
redhat service mesh < 1781937133 1781937133
redhat service mesh < 1782287580 1782287580
redhat service mesh < 1782201894 1782201894
redhat service mesh < 1782201833 1782201833
redhat service mesh < 1782201696 1782201696
redhat service mesh < 1782201537 1782201537
redhat service mesh < 1782201851 1782201851
redhat service mesh < 1782201812 1782201812
redhat service mesh < 1782231869 1782231869
redhat service mesh < 1782201466 1782201466
redhat quay < 1783750447 1783750447
redhat quay < 1783751865 1783751865
redhat quay < 1784353904 1784353904
redhat quay < 1784351966 1784351966
redhat quay < 1783955846 1783955846
redhat quay < 1784125838 1784125838
redhat satellite < 1788322243 1788322243
redhat satellite < 1788260941 1788260941
redhat cryostat = 4 No fix listed
redhat migration toolkit applications = 8 No fix listed
redhat network observ optr All versions No fix listed
redhat workload availability nhc All versions No fix listed
redhat openshift pipelines All versions No fix listed
redhat service mesh = 3 No fix listed
redhat red hat 3scale amp = 2 No fix listed
redhat red hat 3scale amp All versions No fix listed
redhat ansible automation platform = 2 No fix listed
redhat ansible automation platform All versions No fix listed
redhat camel spring boot = 4 No fix listed
redhat apache camel hawtio All versions No fix listed
redhat apicurio registry = 3 No fix listed
redhat podman desktop All versions No fix listed
redhat discovery = 2 No fix listed
redhat enterprise linux = 10 No fix listed
redhat enterprise linux = 7 No fix listed
redhat enterprise linux All versions No fix listed
redhat enterprise linux = 8 No fix listed
redhat enterprise linux = 9 No fix listed
redhat enterprise linux ai All versions No fix listed
redhat jboss fuse = 7 No fix listed
redhat hummingbird = 1 No fix listed
redhat jboss enterprise application platform All versions No fix listed
redhat jboss enterprise application platform = 8 No fix listed
redhat jbosseapxp All versions No fix listed
redhat openshift ai All versions No fix listed
redhat openshift All versions No fix listed
redhat openshift = 4 No fix listed
redhat openshift gitops All versions No fix listed
redhat container native virtualization = 4 No fix listed
redhat satellite All versions No fix listed
redhat trusted artifact signer All versions No fix listed
redhat trusted profile analyzer All versions No fix listed
debian/node-form-data(Debian:12) All versions No fix listed
debian/node-form-data(Debian:12) = 4.0.0-1 No fix listed
debian/node-form-data(Debian:12) = 4.0.0-1+deb12u1 No fix listed
debian/node-form-data(Debian:12) = 4.0.1-1 No fix listed
debian/node-form-data(Debian:12) = 4.0.1-2 No fix listed
debian/node-form-data(Debian:12) = 4.0.4+~2.1.0-1 No fix listed
debian/node-form-data(Debian:12) = 4.0.5+~2.1.0-1 No fix listed
debian/node-form-data(Debian:12) = 4.0.6+~2.1.0-1 No fix listed
debian/node-form-data(Debian:13) All versions No fix listed
debian/node-form-data(Debian:13) = 4.0.1-2 No fix listed
debian/node-form-data(Debian:13) = 4.0.4+~2.1.0-1 No fix listed
debian/node-form-data(Debian:13) = 4.0.5+~2.1.0-1 No fix listed
debian/node-form-data(Debian:13) = 4.0.6+~2.1.0-1 No fix listed
debian/node-form-data(Debian:14) < 4.0.6+~2.1.0-1 4.0.6+~2.1.0-1
debian/node-form-data(Debian:14) = 4.0.1-2 No fix listed
debian/node-form-data(Debian:14) = 4.0.4+~2.1.0-1 No fix listed
debian/node-form-data(Debian:14) = 4.0.5+~2.1.0-1 No fix listed
ubuntu/node-form-data(Ubuntu:22.04) All versions No fix listed
ubuntu/node-form-data(Ubuntu:24.04) All versions No fix listed
ubuntu/node-form-data(Ubuntu:26.04) All versions No fix listed
ubuntu/node-form-data(Ubuntu:26.10) All versions No fix listed
redhat/cryostat/cryostat-openshift-console-plugin-rhel9:4.2.0-13(Red Hat:cryostat:4::el9) All versions No fix listed
redhat/form-data(Red Hat:amq_broker:7.13) All versions No fix listed
redhat/form-data(Red Hat:amq_broker:7.14) All versions No fix listed
redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2.6::el9) < 2.6.13-1.el9ap 2.6.13-1.el9ap
redhat/form-data(Red Hat:jboss_data_grid:8.6) All versions No fix listed
redhat/rh-podman-desktop(Red Hat:enterprise_linux:10.2) < 1.1.2-1.el10_2 1.1.2-1.el10_2

References