{"id":"CVE-2026-55602","published":"2026-06-22T15:58:08Z","modified":"2026-06-23T14:18:06Z","title":"http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass","vendor":"chimurai","product":"http-proxy-middleware","tier":"tail","description":{"text":"http-proxy-middleware is node.js http-proxy middleware. From 0.16.0 until 2.0.10, 3.0.6, and 4.1.0, http-proxy-middleware documents router proxy-table entries as host, path, or host+path selectors, but the host+path implementation uses unanchored substring matching on attacker-controlled request metadata. As a result, a crafted Host header that is only a superstring match for a configured host+path key can still route a request to an unintended backend. This vulnerability is fixed in 2.0.10, 3.0.6, and 4.1.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00378,"percentile":0.23643,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-187","name":"Partial String Comparison"}],"references":[{"url":"https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-64mm-vxmg-q3vj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":4.73},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"chimurai","affectedVersions":[{"vendor":"chimurai","product":"http-proxy-middleware","versions":[">= 4.0.0, < 4.1.0",">= 3.0.0, < 3.0.6",">= 0.16.0, < 2.0.10"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-23T14:17:17.328115Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"http-proxy-middleware","vulnerableRanges":[">=3.0.0, <3.0.6",">=4.0.0, <4.1.0",">=0.16.0, <2.0.10"],"patched":["3.0.6","4.1.0","2.0.10"],"from":["GHSA-64mm-vxmg-q3vj"],"provenance":"source"}],"summary":{"text":"The http-proxy-middleware Node.js library, in its router feature for host+path proxy-table entries (versions from 0.16.0 up to 2.0.10, 3.0.6 and 4.1.0), matches configured host+path selectors using unanchored substring comparison against attacker-controlled request data. A remote attacker with network access, and no authentication or user interaction, can send a request with a crafted Host header that only partially matches a configured key, causing it to be routed to an unintended backend.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:07Z"},"euvd":{"id":"EUVD-2026-38300","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-21536","published":"2024-10-19","fixed":"3.0.3","kev":false},{"cve":"CVE-2025-32996","published":"2025-04-15","fixed":"3.0.4","kev":false},{"cve":"CVE-2025-32997","published":"2025-04-15","fixed":"3.0.5","kev":false,"link":{"from":"CVE-2025-32997","to":"CVE-2026-55602","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:http-proxy-middleware","fromFixed":"3.0.5","toFixed":"3.0.6","daysApart":433},{"kind":"version-step","provenance":"source","package":"npm:http-proxy-middleware","fromFixed":"2.0.9","toFixed":"2.0.10","daysApart":433}]}},{"cve":"CVE-2026-55602","published":"2026-06-22","fixed":"4.1.0","kev":false},{"cve":"CVE-2026-55603","published":"2026-06-22","fixed":"4.1.1","kev":false,"link":{"from":"CVE-2026-55602","to":"CVE-2026-55603","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:http-proxy-middleware","fromFixed":"3.0.6","toFixed":"3.0.7","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:http-proxy-middleware","fromFixed":"4.1.0","toFixed":"4.1.1","daysApart":0}]}}],"package":"npm:http-proxy-middleware"}}