CVE-2026-140103
http-proxy-middleware smuggles a second request when fixRequestBody runs before body arrival
Description
http-proxy-middleware is node.js http-proxy middleware. From 2.0.9 until 2.0.11, 3.0.8, and 4.2.1, fixRequestBody treats req.readableLength === 0 as proof that a body parser consumed the request body, although zero buffered bytes can also mean that the body has not arrived. The required conditions are that a body-parser 1.x parser runs before the proxy, declines a declared media type that fixRequestBody recognizes for reconstruction after assigning a truthy req.body, and leaves the request stream unread; fixRequestBody is registered as on.proxyReq; the body arrives after the headers; the upstream connection remains persistent; and no front end completely buffers and reframes the request. The middleware then writes a synthesized body before the original bytes are piped upstream, allowing a remote unauthenticated client to make the backend execute an arbitrary HTTP/1.1 request that bypasses the gateway's route filter, explicit /admin denial, and trusted-header normalization. With a pooled upstream connection, an attacker-controlled following request can also receive the smuggled response. Body-parser 2.x, a matching parser that consumes the request, no parser, an unsupported media type that fixRequestBody does not serialize, and a nonpersistent upstream connection are not affected by this mechanism. This issue is fixed in repository releases 2.0.11, 3.0.8, and 4.2.1.
INFO
Published Date :
Nov. 30, 2026, 11:17 p.m.
Last Modified :
Nov. 30, 2026, 11:17 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | MITRE-CVE | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update http-proxy-middleware to at least version 2.0.11.
- Update http-proxy-middleware to at least version 3.0.8.
- Update http-proxy-middleware to at least version 4.2.1.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-140103.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-140103 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-140103
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-140103 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-140103 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Nov. 30, 2026
Action Type Old Value New Value Added Description http-proxy-middleware is node.js http-proxy middleware. From 2.0.9 until 2.0.11, 3.0.8, and 4.2.1, fixRequestBody treats req.readableLength === 0 as proof that a body parser consumed the request body, although zero buffered bytes can also mean that the body has not arrived. The required conditions are that a body-parser 1.x parser runs before the proxy, declines a declared media type that fixRequestBody recognizes for reconstruction after assigning a truthy req.body, and leaves the request stream unread; fixRequestBody is registered as on.proxyReq; the body arrives after the headers; the upstream connection remains persistent; and no front end completely buffers and reframes the request. The middleware then writes a synthesized body before the original bytes are piped upstream, allowing a remote unauthenticated client to make the backend execute an arbitrary HTTP/1.1 request that bypasses the gateway's route filter, explicit /admin denial, and trusted-header normalization. With a pooled upstream connection, an attacker-controlled following request can also receive the smuggled response. Body-parser 2.x, a matching parser that consumes the request, no parser, an unsupported media type that fixRequestBody does not serialize, and a nonpersistent upstream connection are not affected by this mechanism. This issue is fixed in repository releases 2.0.11, 3.0.8, and 4.2.1. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N Added CWE CWE-444 Added CWE CWE-807 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/140xxx/CVE-2026-140103.json">CVE-2026-140103</a> Added Reference https://github.com/chimurai/http-proxy-middleware/commit/32b56d3f22f0c77eed6828abef84104dacf202f4 Added Reference https://github.com/chimurai/http-proxy-middleware/commit/412856f29168a815aeb2ede15266d7097b9060cc Added Reference https://github.com/chimurai/http-proxy-middleware/commit/77febf656f730ca28cd2188ba372aa4fa98f9404 Added Reference https://github.com/chimurai/http-proxy-middleware/pull/1309 Added Reference https://github.com/chimurai/http-proxy-middleware/pull/1310 Added Reference https://github.com/chimurai/http-proxy-middleware/pull/1311 Added Reference https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.11 Added Reference https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.8 Added Reference https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.2.1 Added Reference https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-vp89-2qrg-8fwc