CVE 6.9 MEDIUM

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

6.9 / 10
MEDIUM
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

Description

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.

Basic Information

ID CVE-2026-55602
Source GitHub_M
Published Jun 22, 2026 at 15:58

Affected Product

Vendor chimurai
Product http-proxy-middleware
Version >= 4.0.0, < 4.1.0
Affected Versions chimurai http-proxy-middleware >= 4.0.0, < 4.1.0
chimurai http-proxy-middleware >= 3.0.0, < 3.0.6
chimurai http-proxy-middleware >= 0.16.0, < 2.0.10

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.