Skip to content

CVE-2026-55603 http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody`

HighCVSS 7.5 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

5 packages: 2 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
redhat/mta/mta-ui-rhel9:1785169013(Red Hat migration_toolkit_applications 8.1 el9) All versions No fix listed No fix yet
redhat/rhtas/rhtas-console-ui-rhel9:1784105894(Red Hat trusted_artifact_signer 1.3 el9) All versions No fix listed No fix yet
redhat/rhtpa/rhtpa-trustification-service-rhel9(Red Hat trusted_profile_analyzer 2) All versions No fix listed No fix yet
chimurai http-proxy-middleware = >= 3.0.4, < 3.0.7; = >= 4.0.0, < 4.1.1; >= 3.0.4, < 3.0.7; >= 4.0.0, < 4.1.1 3.0.7, 4.1.1 Fixed
npm http-proxy-middleware(npm) >= 3.0.4, < 3.0.7; >= 4.0.0, < 4.1.1 3.0.7, 4.1.1 Fixed

Affected products

ProductAffected versionsFixed in
chimurai http-proxy-middleware = >= 3.0.4, < 3.0.7 No fix listed
chimurai http-proxy-middleware = >= 4.0.0, < 4.1.1 No fix listed
redhat/mta/mta-ui-rhel9:1785169013(Red Hat:migration_toolkit_applications:8.1::el9) All versions No fix listed
redhat/rhtas/rhtas-console-ui-rhel9:1784105894(Red Hat:trusted_artifact_signer:1.3::el9) All versions No fix listed
redhat/rhtpa/rhtpa-trustification-service-rhel9(Red Hat:trusted_profile_analyzer:2) All versions No fix listed
npm http-proxy-middleware(npm) >= 3.0.4, < 3.0.7 3.0.7
npm http-proxy-middleware(npm) >= 4.0.0, < 4.1.1 4.1.1
chimurai http-proxy-middleware >= 3.0.4, < 3.0.7 3.0.7
chimurai http-proxy-middleware >= 4.0.0, < 4.1.1 4.1.1

References