CVEfocus › CVE database › CVE-2026-12143

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

CVSS 7.5 HighEPSS 1.6% (higher than 76% of CVEs)Published 2026-06-12Updated 2026-09-11Assigner: harborist

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.

CWE-93

What to do

Fixed builds are available from Debian, Red Hat, npm: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
9Fix pending
2Under investigation
1Will not fix
71Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-form-dataFix pendingUBUNTU-CVE-2026-12143
Ubuntu 26.04node-form-dataUnder investigationUBUNTU-CVE-2026-12143
Ubuntu 25.10node-form-dataWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-12143
Ubuntu 24.04node-form-dataUnder investigationUBUNTU-CVE-2026-12143
Ubuntu 22.04node-form-dataFix pendingUBUNTU-CVE-2026-12143
Ubuntu 20.04node-form-dataFix pendingUBUNTU-CVE-2026-12143
Ubuntu 18.04node-form-dataFix pendingUBUNTU-CVE-2026-12143
Ubuntu 16.04node-form-dataFix pendingUBUNTU-CVE-2026-12143
Ubuntu 14.04node-form-dataFix pendingUBUNTU-CVE-2026-12143
Debian 14node-form-dataFixed4.0.6+~2.1.0-1DEBIAN-CVE-2026-12143
Debian 13node-form-dataFix pendingDEBIAN-CVE-2026-12143
Debian 12node-form-dataFix pendingDEBIAN-CVE-2026-12143
Red Hat Enterprise Linux 10firefoxNot affected
Red Hat Enterprise Linux 10gjsNot affected
Red Hat Enterprise Linux 10gjs-develNot affected
Red Hat Enterprise Linux 10rh-podman-desktopFixed0:1.1.2-1.el10_2RHSA-2026:57590
Red Hat Enterprise Linux 10thunderbirdNot affected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9firefox-x11Not affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9pcs-snmpNot affected
Red Hat Enterprise Linux 9thunderbirdNot affected
Red Hat Enterprise Linux 8aspnetcore-runtime-8.0Not affected
Red Hat Enterprise Linux 8aspnetcore-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 8cockpit-composerFix pending
Affected
Red Hat Enterprise Linux 8dnf-plugin-subscription-managerNot affected
Red Hat Enterprise Linux 8dotnetNot affected
Red Hat Enterprise Linux 8dotnet-apphost-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnet-hostNot affected
Red Hat Enterprise Linux 8dotnet-hostfxr-8.0Not affected
Red Hat Enterprise Linux 8dotnet-runtime-8.0Not affected
Red Hat Enterprise Linux 8dotnet-runtime-dbg-8.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-8.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-8.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 8dotnet-sdk-dbg-8.0Not affected
Red Hat Enterprise Linux 8dotnet-targeting-pack-8.0Not affected
Red Hat Enterprise Linux 8dotnet-templates-8.0Not affected
Red Hat Enterprise Linux 8dotnet5.0-build-reference-packagesNot affected
Red Hat Enterprise Linux 8dotnet8.0Not affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-pcpNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8netstandard-targeting-pack-2.1Not affected
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 8python3-cloud-whatNot affected
Red Hat Enterprise Linux 8python3-subscription-manager-rhsmNot affected
Red Hat Enterprise Linux 8python3-syspurposeNot affected
Red Hat Enterprise Linux 8rhsm-gtkNot affected
Red Hat Enterprise Linux 8rhsm-iconsNot affected
Red Hat Enterprise Linux 8subscription-managerNot affected
Red Hat Enterprise Linux 8subscription-manager-cockpitNot affected
Red Hat Enterprise Linux 8subscription-manager-initial-setup-addonNot affected
Red Hat Enterprise Linux 8subscription-manager-migrationNot affected
Red Hat Enterprise Linux 8subscription-manager-plugin-ostreeNot affected
Red Hat Enterprise Linux 8subscription-manager-rhsm-certificatesNot affected
Red Hat Enterprise Linux 8thunderbirdNot affected
Red Hat Enterprise Linux 7python-syspurposeNot affected
Red Hat Enterprise Linux 7rhsm-gtkNot affected
Red Hat Enterprise Linux 7subscription-managerNot affected
Red Hat Enterprise Linux 7subscription-manager-cockpitNot affected
Red Hat Enterprise Linux 7subscription-manager-guiNot affected
Red Hat Enterprise Linux 7subscription-manager-initial-setup-addonNot affected
Red Hat Enterprise Linux 7subscription-manager-migrationNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-containerNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-ostreeNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsmNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsm-certificatesNot affected
npm libraryform-dataFixed4.0.6GHSA-hmw2-7cc7-3qxx

What the vendor says

As published in the CVE record by harborist, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.