Skip to main content
← All vulnerabilities
CVE-2026-55602GHSA-64MM-VXMG-Q3VJ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.0, 3.0.6, 2.0.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • chimurai http-proxy-middleware

    From 4.0.0 · fixed in 4.1.0; From 3.0.0 · fixed in 3.0.6; From 0.16.0 · fixed in 2.0.10

  • http-proxy-middlewarenpm

    From 3.0.0 · fixed in 3.0.6

  • http-proxy-middlewarenpm

    From 4.0.0 · fixed in 4.1.0

  • http-proxy-middlewarenpm

    From 0.16.0 · fixed in 2.0.10

References 1

GitHub · chimurai/http-proxy-middleware