CVE-2026-55602CWE-187CWE-20

http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass

Medium · published June 22, 2026

CVSS v4.0
6.9
EPSS
0%
Percentile
30.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.00378 · 30.5th percentile
Weaknesses
CWE-187 · Partial String Comparison; CWE-20 · Improper Input Validation
Published
2026-06-22T15:58Z
EPSS history
Timeline
  • 22 JUN 15:58Z
    http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass
    cvelistv5