CVE-2026-55602 http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass
MediumCVSS 6.9
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| chimurai http-proxy-middleware | = >= 0.16.0, < 2.0.10; = >= 3.0.0, < 3.0.6; = >= 4.0.0, < 4.1.0; >= 0.16.0, < 2.0.10 +2 more | 2.0.10, 3.0.6, 4.1.0 | Fixed |
| npm http-proxy-middleware(npm) | >= 0.16.0, < 2.0.10; >= 3.0.0, < 3.0.6; >= 4.0.0, < 4.1.0 | 2.0.10, 3.0.6, 4.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| chimurai http-proxy-middleware | = >= 4.0.0, < 4.1.0 | No fix listed |
| chimurai http-proxy-middleware | = >= 3.0.0, < 3.0.6 | No fix listed |
| chimurai http-proxy-middleware | = >= 0.16.0, < 2.0.10 | No fix listed |
| npm http-proxy-middleware(npm) | >= 4.0.0, < 4.1.0 | 4.1.0 |
| npm http-proxy-middleware(npm) | >= 3.0.0, < 3.0.6 | 3.0.6 |
| npm http-proxy-middleware(npm) | >= 0.16.0, < 2.0.10 | 2.0.10 |
| chimurai http-proxy-middleware | >= 0.16.0, < 2.0.10 | 2.0.10 |
| chimurai http-proxy-middleware | >= 3.0.0, < 3.0.6 | 3.0.6 |
| chimurai http-proxy-middleware | >= 4.0.0, < 4.1.0 | 4.1.0 |
References
- https://github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-64mm-vxmg-q3vj exploit vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2491470 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- github.com product