PT-2026-164420
CVE-2026-140103
·
Published
2026-11-30
·
Updated
2026-12-01
Description by
CVSS 3.1
5.4
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
http-proxy-middleware versions 2.0.9 through 2.0.10
http-proxy-middleware versions 3.0.0 through 3.0.7
http-proxy-middleware versions 4.0.0 through 4.2.0
Description
The
fixRequestBody function incorrectly interprets req.readableLength === 0 as evidence that a body parser has already consumed the request body, whereas this state can also occur if the body has not yet arrived. This occurs when a body-parser 1.x parser runs before the proxy, declines a recognized media type after assigning a truthy req.body, and leaves the request stream unread, while fixRequestBody is registered as on.proxyReq. If the body arrives after the headers, the upstream connection is persistent, and no front end buffers the request, the middleware writes a synthesized body before the original bytes are piped upstream. This allows an unauthenticated remote client to trigger an arbitrary HTTP/1.1 request on the backend, bypassing route filters, /admin denials, and trusted-header normalization. Additionally, with pooled upstream connections, a subsequent request controlled by an attacker may receive the smuggled response.Recommendations
Update to version 2.0.11
Update to version 3.0.8
Update to version 4.2.1
Found an issue in the description? Have something to add? Feel free to write us 👾