Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. http-proxy-middleware
  4. ›
  5. CVE-2026-55602

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

June 18, 2026 (updated June 23, 2026)

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.

References

  • github.com/advisories/GHSA-64mm-vxmg-q3vj
  • github.com/chimurai/http-proxy-middleware/security/advisories/GHSA-64mm-vxmg-q3vj
  • nvd.nist.gov/vuln/detail/CVE-2026-55602

Code Behaviors & Features

Detect and mitigate CVE-2026-55602 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.16.0 before 2.0.10, all versions starting from 3.0.0 before 3.0.6, all versions starting from 4.0.0 before 4.1.0

Fixed versions

  • 2.0.10
  • 3.0.6
  • 4.1.0

Solution

Upgrade to versions 2.0.10, 3.0.6, 4.1.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-187: Partial String Comparison
  • CWE-20: Improper Input Validation

Source file

npm/http-proxy-middleware/CVE-2026-55602.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.