CVE-2026-55603 Details
Description
http-proxy-middleware is node.js http-proxy middleware. From 3.0.4 until 3.0.7 and 4.1.1, fixRequestBody() is the library's documented helper for re-emitting a request body that was already consumed by a body parser. When the outgoing Content-Type is multipart/form-data, it rebuilds the body with handlerFormDataBodyData(), which interpolates each req.body key and value directly into the multipart wire format without neutralizing CR/LF. A \r\n inside a value (or key) lets an attacker close the current part and inject an entirely new form part. Because the proxy's own body parser saw a single opaque value, any gateway-side policy or validation performed on req.body is evaluated against a different set of fields than the upstream backend ultimately parses a request/parameter desynchronization across the trust boundary. This vulnerability is fixed in 3.0.7 and 4.1.1.
A vulnerability exists in http-proxy-middleware versions 3.0.4 prior to 3.0.7 and 4.0.0 prior to 4.1.1. The issue arises in the library's fixRequestBody() function, which is intended to re-emit a request body that has already been processed by a body parser. When the outgoing Content-Type is multipart/form-data, the function rebuilds the body by directly inserting each key and value from req.body into the multipart format without properly escaping carriage return and line feed characters. This oversight allows an attacker to close the current part and inject a new form part. As a result, any validation or policy applied to req.body is misaligned with what the upstream backend ultimately processes, creating a desynchronization across the trust boundary.
Update to http-proxy-middleware version 3.0.7 or 4.1.1. If using an earlier version, neutralize carriage return and line feed characters in multipart field names and values before interpolation, or use a proper multipart encoder like FormData or the form-data package.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-gcq2-9pq2-cxqm | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-gcq2-9pq2-cxqm | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| chimurai http-proxy-middleware | >= 3.0.4, < 3.0.7 >= 4.0.0, < 4.1.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 24, 2026 | Initial Analysis | [email protected] |
| Jun 23, 2026 | CVE Modified | CISA-ADP |
| Jun 22, 2026 | New CVE Received | [email protected] |