{"answers":{"affected":"6 open source packages ship an affected version, including http-proxy-middleware. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55602 exists.","fix":"Upgrade http-proxy-middleware to a fixed version for your release line: 2.0.10, 3.0.6 or 4.1.0.","what":"CVE-2026-55602 is a medium-severity vulnerability in chimurai http-proxy-middleware, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55602 and fix it if it is affected.\n\nWhat it is: CVE-2026-55602 is a medium-severity vulnerability in chimurai http-proxy-middleware, published on 22 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-55602 exists.\n\nAffected packages and fixed versions:\n- http-proxy-middleware (npm): affected from 0.16.0; fixed in 2.0.10\n- http-proxy-middleware (npm): affected from 0.16.0; fixed in 2.0.10\n- http-proxy-middleware (npm): affected from 3.0.0; fixed in 3.0.6\n- http-proxy-middleware (npm): affected from 3.0.0; fixed in 3.0.6\n- http-proxy-middleware (npm): affected from 4.0.0; fixed in 4.1.0\n- http-proxy-middleware (npm): affected from 4.0.0; fixed in 4.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55602/ (Markdown: https://insights.sbomify.com/CVE-2026-55602/index.md)","id":"CVE-2026-55602","markdown":"https://insights.sbomify.com/CVE-2026-55602/index.md","name":"CVE-2026-55602","record":{"aliases":["CLEANSTART-2026-FK52853","CLSA-2026-1784509824","CLSA-2026-1788806507","CLSA-2026-1788806602","CLSA-2026-1788806634","CLSA-2026-1788867095","ECHO-3f08-2076-9e96","GHSA-64mm-vxmg-q3vj","MINI-2284-g2vg-vq2j","MINI-4g8g-c69f-5jvf","MINI-54gc-hrhh-jh37","MINI-55f6-57rh-96f5","MINI-6p2v-85xh-8xx2","MINI-7xrc-v9w2-3vh9","MINI-jfcc-gp28-hp3j","MINI-jmw9-rjhr-9xpc","MINI-m93q-wv9h-3r59","MINI-qm93-cxhf-v75v","MINI-xjrr-fh47-cgr9","ROOT-APP-NPM-CVE-2026-55602"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Node.js proxy middleware","requires_auth":"none","summary":"Attackers can bypass backend routing restrictions by crafting Host headers that exploit unanchored substring matching in http-proxy-middleware configurations.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"http-proxy-middleware","vendor":"chimurai"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-187","name":"Partial String Comparison"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"http-proxy-middleware `router` host+path substring matching allows Host-header-driven backend routing bypass","id":"CVE-2026-55602","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody`","id":"CVE-2026-55603"},"packages":[{"ecosystem":"npm","fixed":["2.0.10"],"introduced":["0.16.0"],"last_affected":[],"package":"http-proxy-middleware","purl":null,"source":"GHSA-64mm-vxmg-q3vj"},{"ecosystem":"npm","fixed":["2.0.10"],"introduced":["0.16.0"],"last_affected":[],"package":"http-proxy-middleware","purl":"pkg:npm/http-proxy-middleware","source":"GHSA-64mm-vxmg-q3vj"},{"ecosystem":"npm","fixed":["3.0.6"],"introduced":["3.0.0"],"last_affected":[],"package":"http-proxy-middleware","purl":null,"source":"GHSA-64mm-vxmg-q3vj"},{"ecosystem":"npm","fixed":["3.0.6"],"introduced":["3.0.0"],"last_affected":[],"package":"http-proxy-middleware","purl":"pkg:npm/http-proxy-middleware","source":"GHSA-64mm-vxmg-q3vj"},{"ecosystem":"npm","fixed":["4.1.0"],"introduced":["4.0.0"],"last_affected":[],"package":"http-proxy-middleware","purl":null,"source":"GHSA-64mm-vxmg-q3vj"},{"ecosystem":"npm","fixed":["4.1.0"],"introduced":["4.0.0"],"last_affected":[],"package":"http-proxy-middleware","purl":"pkg:npm/http-proxy-middleware","source":"GHSA-64mm-vxmg-q3vj"}],"prev":{"headline":"MultiTail: Shell injection in execute-on-match command handling","id":"CVE-2026-55601"},"products":["http-proxy-middleware"],"published":"2026-06-22","related":[{"cvss_score":8.7,"headline":"Denial of service in http-proxy-middleware","id":"CVE-2024-21536","kev_date_added":null,"published":"2024-10-19"},{"cvss_score":7.5,"headline":"http-proxy-middleware: multipart/form-data field injection via unescaped CRLF in `fixRequestBody`","id":"CVE-2026-55603","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":4,"headline":"http-proxy-middleware can call writeBody twice because \"else if\" is not used","id":"CVE-2025-32996","kev_date_added":null,"published":"2025-04-15"},{"cvss_score":4,"headline":"http-proxy-middleware allows fixRequestBody to proceed even if bodyParser has failed","id":"CVE-2025-32997","kev_date_added":null,"published":"2025-04-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-23","vendors":["chimurai"]},"summary":"Attackers can bypass backend routing restrictions by crafting Host headers that exploit unanchored substring matching in http-proxy-middleware configurations.","url":"https://insights.sbomify.com/CVE-2026-55602/"}