Bug 2587658 (CVE-2026-140103)

Summary: CVE-2026-140103 http-proxy-middleware: http-proxy-middleware: HTTP request smuggling via improper request body handling
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aazores, abarbaro, abrianik, abuckta, akostadi, alizardo, amasferr, amctagga, anpicker, aoconnor, aruklets, bbrownin, bcaton, bniver, brasmith, cdrage, cmah, cochase, crizzo, csuconic, dbosanac, dbruscin, dhanak, dkuc, dmayorov, doconnor, dranck, drosa, dsimansk, dymurray, eaguilar, ebaron, eborisov, eshamard, flucifre, fmariani, ggrzybek, gmalinko, gmeno, groman, gtully, hasun, ibolton, janstey, jchui, jfula, jhe, jkrystof, jlanda, jlledo, jmatsuok, jmatthew, jmontleo, jowilson, jraez, jreimann, jsherman, jtolenti, jvasik, jwon, kaycoth, kgaikwad, kingland, kshier, ktsao, kvanderr, lball, lchilton, mbenjamin, mcarlett, mdessi, mhackett, mnovotny, mrizzi, nboldt, ngough, nyancey, oaljalju, ometelka, orabin, pantinor, parichar, pcattana, pdelbell, pgaikwad, pjindal, psrna, ptisnovs, rblanco, rbobbitt, rgemmell, rgodfrey, rhel-process-autobot, rstepani, rushinde, sausingh, sfeifer, shudeshp, simaishi, slucidi, sostapov, sseago, stcannon, syedriko, tasato, tbish, tcunning, tguha, tlavocat, tmielke, tsedmik, tzimanyi, vereddy, veshanka, watson-tool-maintainers, xdharmai, yfang, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in http-proxy-middleware. Under specific request processing conditions, the middleware incorrectly treats unread request stream data as an already parsed request body, synthesizing data before piping original bytes upstream. A remote unauthenticated attacker can exploit this issue to perform HTTP (Hypertext Transfer Protocol) request smuggling. This vulnerability can enable an attacker to bypass gateway route filters, access restricted administrative endpoints, or intercept responses intended for subsequent requests.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-30 22:51:34 UTC
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.