http-proxy-middleware request smuggling in proxy bypasses route filtering
- Exploited
- No known exploitation
- Fix
- Fixed in 2.0.11, 3.0.8, 4.2.1
- Who is exposed
- Not reported
Summary
http-proxy-middleware, a Node.js proxy middleware, can send a second, attacker-written HTTP request to the backend when a body parser runs before it. A remote attacker who does not need to log in can use this to make the backend run an arbitrary request that bypasses the gateway's route filtering, its denial of /admin, and its trusted-header normalization.
Written by a model
Original 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.
What to do
Upgrade to a fixed version: 2.0.11, 3.0.8, 4.2.1.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-140103 (http-proxy-middleware smuggles a second request when fixRequestBody runs before body arrival), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-140103 (entry last updated 2026-11-30):
Affected:
- chimurai http-proxy-middleware: from 2.0.9, fixed in 2.0.11; from 3.0.5, fixed in 3.0.8; from 4.0.0-beta.0, fixed in 4.2.1
Fixed versions: 2.0.11, 3.0.8, 4.2.1.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-140103 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-140103 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-vp89-2qrg-8fwc
- https://github.com/chimurai/http-proxy-middleware/pull/1309
- https://github.com/chimurai/http-proxy-middleware/pull/1310
- https://github.com/chimurai/http-proxy-middleware/pull/1311
- https://github.com/chimurai/http-proxy-middleware/commit/32b56d3f22f0c77eed6828abef84104dacf202f4
- https://github.com/chimurai/http-proxy-middleware/commit/412856f29168a815aeb2ede15266d7097b9060cc
- https://github.com/chimurai/http-proxy-middleware/commit/77febf656f730ca28cd2188ba372aa4fa98f9404
- https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.11
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-140103
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-140103"}.Affected versions
- chimurai http-proxy-middlewareFrom 2.0.9 · fixed in 2.0.11; From 3.0.5 · fixed in 3.0.8; From 4.0.0-beta.0 · fixed in 4.2.1
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed per the CVSS vector, reachable over the network without a login · Unknown: No advisory context yet
- Reach?/20Unknown. No tracked technology or package matched
- Severity5.4/10CVSS 5.4
- No patch0/5No signal
What would change the score
- Would score about 67 if added to CISA KEV
- Would score about 62 if CISA's SSVC rates exploitation active
- Would score about 27 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 12
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · chimurai/http-proxy-middleware · Advisory GHSA-vp89-2qrg-8fwc |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-140103 |
| Record | NVD · CVE-2026-140103 |
| Other links 9 | |
| Repository | GitHub · chimurai/http-proxy-middleware · Pull request #1309 |
| Repository | GitHub · chimurai/http-proxy-middleware · Pull request #1310 |
| Repository | GitHub · chimurai/http-proxy-middleware · Pull request #1311 |
| Repository | GitHub · chimurai/http-proxy-middleware · Commit 32b56d3f |
| Repository | GitHub · chimurai/http-proxy-middleware · Commit 412856f2 |
| Repository | GitHub · chimurai/http-proxy-middleware · Commit 77febf65 |
| Repository | GitHub · chimurai/http-proxy-middleware · Release v2.0.11 |
| Repository | GitHub · chimurai/http-proxy-middleware · Release v3.0.8 |
| Repository | GitHub · chimurai/http-proxy-middleware · Release v4.2.1 |
Questions about CVE-2026-140103
Is CVE-2026-140103 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-140103?
http-proxy-middleware: from 2.0.9 before 2.0.11; from 3.0.5 before 3.0.8; from 4.0.0-beta.0 before 4.2.1.
Source: cve.now feed data
How do I fix CVE-2026-140103?
Upgrade to a fixed version: 2.0.11, 3.0.8, 4.2.1.
Source: cve.now feed data
Related
- CVE-2026-140102http-proxy-middleware: Unauthenticated remote gateway crash via an `Upgrade` request to a path outside `pathFilter` followed by a TCP RST…
- CVE-2026-55603http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody`
- CVE-2026-55602http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass
- CVE-2025-32996In http-proxy-middleware before 2.0.8 and 3.x before 3.0.4, writeBody can be called twice because "else if" is not used.
- CVE-2025-32997In http-proxy-middleware before 2.0.9 and 3.x before 3.0.5, fixRequestBody proceeds even if bodyParser has failed.
- CVE-2026-59103MONEO ERP unauthenticated session forging via the public Ping JSON-RPC method
No corrections so far. Something wrong on this page? Report an error.