Fastify Http Proxy
Monthly
Unhandled socket errors in @fastify/http-proxy versions 9.0.0 up to but not including 11.6.10 allow remote unauthenticated attackers to crash a Node.js process by sending a WebSocket upgrade request over a cleartext HTTP/1 listener and then resetting the TCP connection while Fastify is still routing the request. The flaw is only reachable when the plugin is registered with websocket:true and some asynchronous work runs between dispatch and the route handler, such as an async hook or any unrelated async route; upgrades over TLS are not affected because the TLSSocket retains its own error listener. Vendor-released patch: 11.6.10; no public exploit identified at time of analysis.
Denial of service in @fastify/http-proxy 9.4.0 through 11.6.9 lets remote unauthenticated attackers crash the Node.js process when the plugin is registered with websocket: true. A single WebSocket upgrade whose request-target is not a valid URL reference, such as a path carrying a URL fragment, is answered with 101 before the upstream link is created; the resulting uncaught error leaves the client socket open, and one subsequent frame terminates the process. No public exploit identified at time of analysis; CVSS 7.5 reflects availability-only impact.
Denial of service in @fastify/http-proxy (9.0.0 up to but not including 11.6.10) lets a single unauthenticated connection terminate the Node.js process when the plugin is registered with websocket support on a cleartext HTTP/1 listener. An attacker pipelines a WebSocket upgrade behind an in-flight HTTP request and then resets the connection; the plugin's shared upgrade listener declines the socket without attaching an error handler, and Node.js has already removed its own, so the resulting ECONNRESET is an unhandled error that crashes the process. On versions 9.0.0 to before 11.6.4 the pipelined upgrade alone throws an uncaught ERR_HTTP_SOCKET_ASSIGNED, even over TLS, so no reset is needed there; the attack requires no matched route and can be repeated to keep the service down. No public exploit code is identified at time of analysis and the issue is not in CISA KEV, but the trigger is trivial and the vendor rates the availability impact High (CVSS 7.5, AV:N/AC:L/PR:N/UI:N).
Path-restriction bypass in @fastify/http-proxy 9.0.0 through 11.6.5 lets unauthenticated remote attackers escape an intended upstream prefix by supplying a route parameter that decodes into path separators and fragment or query delimiters, potentially enabling SSRF or authorization bypass in the upstream service. Exploitation requires the application to use both parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path; deployments without that configuration are not affected. The vendor-priority decision is act_now, the fix is version 11.6.6, there is no workaround other than upgrading, and no public exploit was identified at time of analysis.
Path traversal in @fastify/http-proxy before 11.6.2 permits unauthenticated remote attackers to bypass the prefix and rewritePrefix boundary controls and reach upstream paths that the proxy operator intended to keep hidden. The root cause is an asymmetry between the plain HTTP handler — which omits destination validation — and the WebSocket handler, which performs it correctly; the underlying reply-from library compounds this by only rejecting forward-slash traversal sequences, leaving backslash dot-segment variants unchecked. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis.
Proxy prefix-rewrite bypass in @fastify/http-proxy (versions up to and including 11.5.0) lets remote unauthenticated attackers reach upstream endpoints the proxy was configured to hide. Because Fastify's router URL-decodes paths for route matching while the rewrite step performs a literal string replace against the decoded prefix, a request that URL-encodes any character of the configured prefix still matches the route but skips the rewrite, forwarding the raw encoded path to the upstream, which decodes and serves it. There is no public exploit identified at time of analysis, but the CVSS 3.1 base score is 10.0 (scope-changed) and the OpenJS/GHSA advisory characterizes it as an information-disclosure access-control bypass.
We are tasked with synthesizing data from multiple sources about CVE-2026-15631 into a comprehensive JSON analysis. The input includes description, patches, CVSS, CWE, EPSS, references, etc. The output must be a JSON object with the specified fields, all as plain text strings, not arrays or objects. We need to follow the precision rules. First, understand the vulnerability: @fastify/http-proxy, a Node.js library, from version 9.4.0 to 11.5.0 inclusive, has a WebSocket path traversal issue. The description says that the WebSocket destination path is resolved via WHATWG URL constructor which collapses dot segments, so a crafted upgrade request with path traversal can escape the rewrite prefix and reach unintended upstream endpoints. This is a variant of CVE-2021-21322, but in a code path not fixed there. Exploitation requires a non-normalizing WebSocket client; browsers and ws package normalize, so raw HTTP clients or downstream proxies that forward request target unchanged make it reachable. Patch: upgrade to 11.6.0. CVSS: 10.0, vector: AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N. CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). EPSS: 0.30% (low). No KEV mentioned, so not in KEV. POC availability not explicitly stated, but the description implies the vulnerability exists and exploitation conditions are known; however, no public POC is indicated. The tags: "Path Traversal, Fastify Http Proxy". CPE: cpe:2.3:a:@fastify/http-proxy:@fastify/http-proxy:*:*:*:*:*:*:*:*. EUVD affected versions: "@fastify/http-proxy 9.4.0 <11.6.0". References include a GitHub security advisory (GHSA-7hrw-592w-9wh2) and the OpenJS CNA page. We need to produce each field according to the instructions. product_name: "Fastify HTTP Proxy" (or @fastify/http-proxy? The instructions: "1-3 words ONLY. The specific product or service name affected. Examples: 'Apache Tomcat', 'WordPress', 'Linux Kernel', 'nginx-ui', 'GoAnywhere MFT'. NOT the vulnerability type, NOT the
HTTP header smuggling in @fastify/reply-from ≤12.6.1 and @fastify/http-proxy ≤11.4.3 allows remote unauthenticated attackers to strip proxy-added security headers from upstream requests via malicious Connection header values. Attackers can retroactively remove headers intended for routing, access control, or authentication, potentially bypassing proxy-enforced security policies. CVSS 9.0 (Critical) with high integrity impact to both vulnerable and subsequent systems. EPSS 0.04% indicates low mass-exploitation probability despite proof-of-concept availability (SSVC). Vendor patches available: upgrade to @fastify/reply-from ≥12.6.2 or @fastify/http-proxy ≥11.4.4.
Path traversal prefix escape in @fastify/http-proxy before 11.6.10 lets remote attackers reach upstream paths outside the subtree a configured proxy prefix is meant to expose, but only when the upstream is a servlet container such as Apache Tomcat or Jetty. The plugin's validateDestination() compares path segments to '..' with an exact string match, so a segment such as '..;', '..;jsessionid=x' or '%2e%2e;' passes the check, while the servlet container strips the ';' path parameter and then resolves the dot-segment; both the HTTP and WebSocket proxy paths are affected, and the WebSocket upgrade path is the more reliably exploitable surface because plain HTTP requests are additionally validated by @fastify/reply-from. CVSS 3.1 scores this 6.5 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N), no public exploit code was identified at time of analysis, and the vendor has released a fix in 11.6.10.
Cross-site WebSocket hijacking affects @fastify/http-proxy versions 7.1.0 through 11.6.9 when the plugin is registered with websocket: true: the default header rewriter forwards the client's Cookie header but the plugin never sets the ws origin option, so the browser's Origin header is dropped on the upstream handshake. The missing Origin is treated by many upstream WebSocket servers (for example gorilla/websocket's default CheckOrigin, and Spring/Phoenix same-origin checks) as a trusted non-browser client, so a malicious page visited by a logged-in user can open a WebSocket through the proxy and read or send messages on that user's behalf. Rated CVSS 5.9 (AV:N/AC:H/PR:N/UI:R, C:H/I:L), it is exploitable unauthenticated but requires an authenticated victim to visit an attacker-controlled page plus conditions on cookie SameSite attributes and upstream origin handling; no public exploit code was identified at time of analysis and there is no KEV listing, and the vendor-released fix is version 11.6.10.
@fastify/http-proxy 11.6.0 through 11.6.2 lets an unauthenticated remote attacker reach upstream resources outside the intended proxy prefix by sending a path that hides its backslash dot-segments behind percent-encoding (for example /pub/%5C..%5Csecret), which the plugin's destination validator lets through and the upstream, if it decodes %5C and treats backslash as a path separator, resolves to a sibling location. Impact is confidentiality only (C:H, I:N, A:N) and highly conditional, which is why CVSS 3.1 scores it 5.9 with AC:H: the escape only happens against an upstream whose path handling treats a decoded backslash as a separator, the advisory's canonical case being a Windows host serving static files, and the flaw is moot wherever prefix/rewritePrefix is not relied on as a confidentiality boundary. There is no public exploit identified at time of analysis and no KEV listing, and the vendor-released fix is version 11.6.3; the CNA is the OpenJS Foundation and priority is this_month rather than emergency response.
fastify-http-proxy is an npm package which is a fastify plugin for proxying your http requests to another server, with hooks. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
Unhandled socket errors in @fastify/http-proxy versions 9.0.0 up to but not including 11.6.10 allow remote unauthenticated attackers to crash a Node.js process by sending a WebSocket upgrade request over a cleartext HTTP/1 listener and then resetting the TCP connection while Fastify is still routing the request. The flaw is only reachable when the plugin is registered with websocket:true and some asynchronous work runs between dispatch and the route handler, such as an async hook or any unrelated async route; upgrades over TLS are not affected because the TLSSocket retains its own error listener. Vendor-released patch: 11.6.10; no public exploit identified at time of analysis.
Denial of service in @fastify/http-proxy 9.4.0 through 11.6.9 lets remote unauthenticated attackers crash the Node.js process when the plugin is registered with websocket: true. A single WebSocket upgrade whose request-target is not a valid URL reference, such as a path carrying a URL fragment, is answered with 101 before the upstream link is created; the resulting uncaught error leaves the client socket open, and one subsequent frame terminates the process. No public exploit identified at time of analysis; CVSS 7.5 reflects availability-only impact.
Denial of service in @fastify/http-proxy (9.0.0 up to but not including 11.6.10) lets a single unauthenticated connection terminate the Node.js process when the plugin is registered with websocket support on a cleartext HTTP/1 listener. An attacker pipelines a WebSocket upgrade behind an in-flight HTTP request and then resets the connection; the plugin's shared upgrade listener declines the socket without attaching an error handler, and Node.js has already removed its own, so the resulting ECONNRESET is an unhandled error that crashes the process. On versions 9.0.0 to before 11.6.4 the pipelined upgrade alone throws an uncaught ERR_HTTP_SOCKET_ASSIGNED, even over TLS, so no reset is needed there; the attack requires no matched route and can be repeated to keep the service down. No public exploit code is identified at time of analysis and the issue is not in CISA KEV, but the trigger is trivial and the vendor rates the availability impact High (CVSS 7.5, AV:N/AC:L/PR:N/UI:N).
Path-restriction bypass in @fastify/http-proxy 9.0.0 through 11.6.5 lets unauthenticated remote attackers escape an intended upstream prefix by supplying a route parameter that decodes into path separators and fragment or query delimiters, potentially enabling SSRF or authorization bypass in the upstream service. Exploitation requires the application to use both parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path; deployments without that configuration are not affected. The vendor-priority decision is act_now, the fix is version 11.6.6, there is no workaround other than upgrading, and no public exploit was identified at time of analysis.
Path traversal in @fastify/http-proxy before 11.6.2 permits unauthenticated remote attackers to bypass the prefix and rewritePrefix boundary controls and reach upstream paths that the proxy operator intended to keep hidden. The root cause is an asymmetry between the plain HTTP handler — which omits destination validation — and the WebSocket handler, which performs it correctly; the underlying reply-from library compounds this by only rejecting forward-slash traversal sequences, leaving backslash dot-segment variants unchecked. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis.
Proxy prefix-rewrite bypass in @fastify/http-proxy (versions up to and including 11.5.0) lets remote unauthenticated attackers reach upstream endpoints the proxy was configured to hide. Because Fastify's router URL-decodes paths for route matching while the rewrite step performs a literal string replace against the decoded prefix, a request that URL-encodes any character of the configured prefix still matches the route but skips the rewrite, forwarding the raw encoded path to the upstream, which decodes and serves it. There is no public exploit identified at time of analysis, but the CVSS 3.1 base score is 10.0 (scope-changed) and the OpenJS/GHSA advisory characterizes it as an information-disclosure access-control bypass.
We are tasked with synthesizing data from multiple sources about CVE-2026-15631 into a comprehensive JSON analysis. The input includes description, patches, CVSS, CWE, EPSS, references, etc. The output must be a JSON object with the specified fields, all as plain text strings, not arrays or objects. We need to follow the precision rules. First, understand the vulnerability: @fastify/http-proxy, a Node.js library, from version 9.4.0 to 11.5.0 inclusive, has a WebSocket path traversal issue. The description says that the WebSocket destination path is resolved via WHATWG URL constructor which collapses dot segments, so a crafted upgrade request with path traversal can escape the rewrite prefix and reach unintended upstream endpoints. This is a variant of CVE-2021-21322, but in a code path not fixed there. Exploitation requires a non-normalizing WebSocket client; browsers and ws package normalize, so raw HTTP clients or downstream proxies that forward request target unchanged make it reachable. Patch: upgrade to 11.6.0. CVSS: 10.0, vector: AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N. CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'). EPSS: 0.30% (low). No KEV mentioned, so not in KEV. POC availability not explicitly stated, but the description implies the vulnerability exists and exploitation conditions are known; however, no public POC is indicated. The tags: "Path Traversal, Fastify Http Proxy". CPE: cpe:2.3:a:@fastify/http-proxy:@fastify/http-proxy:*:*:*:*:*:*:*:*. EUVD affected versions: "@fastify/http-proxy 9.4.0 <11.6.0". References include a GitHub security advisory (GHSA-7hrw-592w-9wh2) and the OpenJS CNA page. We need to produce each field according to the instructions. product_name: "Fastify HTTP Proxy" (or @fastify/http-proxy? The instructions: "1-3 words ONLY. The specific product or service name affected. Examples: 'Apache Tomcat', 'WordPress', 'Linux Kernel', 'nginx-ui', 'GoAnywhere MFT'. NOT the vulnerability type, NOT the
HTTP header smuggling in @fastify/reply-from ≤12.6.1 and @fastify/http-proxy ≤11.4.3 allows remote unauthenticated attackers to strip proxy-added security headers from upstream requests via malicious Connection header values. Attackers can retroactively remove headers intended for routing, access control, or authentication, potentially bypassing proxy-enforced security policies. CVSS 9.0 (Critical) with high integrity impact to both vulnerable and subsequent systems. EPSS 0.04% indicates low mass-exploitation probability despite proof-of-concept availability (SSVC). Vendor patches available: upgrade to @fastify/reply-from ≥12.6.2 or @fastify/http-proxy ≥11.4.4.
Path traversal prefix escape in @fastify/http-proxy before 11.6.10 lets remote attackers reach upstream paths outside the subtree a configured proxy prefix is meant to expose, but only when the upstream is a servlet container such as Apache Tomcat or Jetty. The plugin's validateDestination() compares path segments to '..' with an exact string match, so a segment such as '..;', '..;jsessionid=x' or '%2e%2e;' passes the check, while the servlet container strips the ';' path parameter and then resolves the dot-segment; both the HTTP and WebSocket proxy paths are affected, and the WebSocket upgrade path is the more reliably exploitable surface because plain HTTP requests are additionally validated by @fastify/reply-from. CVSS 3.1 scores this 6.5 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N), no public exploit code was identified at time of analysis, and the vendor has released a fix in 11.6.10.
Cross-site WebSocket hijacking affects @fastify/http-proxy versions 7.1.0 through 11.6.9 when the plugin is registered with websocket: true: the default header rewriter forwards the client's Cookie header but the plugin never sets the ws origin option, so the browser's Origin header is dropped on the upstream handshake. The missing Origin is treated by many upstream WebSocket servers (for example gorilla/websocket's default CheckOrigin, and Spring/Phoenix same-origin checks) as a trusted non-browser client, so a malicious page visited by a logged-in user can open a WebSocket through the proxy and read or send messages on that user's behalf. Rated CVSS 5.9 (AV:N/AC:H/PR:N/UI:R, C:H/I:L), it is exploitable unauthenticated but requires an authenticated victim to visit an attacker-controlled page plus conditions on cookie SameSite attributes and upstream origin handling; no public exploit code was identified at time of analysis and there is no KEV listing, and the vendor-released fix is version 11.6.10.
@fastify/http-proxy 11.6.0 through 11.6.2 lets an unauthenticated remote attacker reach upstream resources outside the intended proxy prefix by sending a path that hides its backslash dot-segments behind percent-encoding (for example /pub/%5C..%5Csecret), which the plugin's destination validator lets through and the upstream, if it decodes %5C and treats backslash as a path separator, resolves to a sibling location. Impact is confidentiality only (C:H, I:N, A:N) and highly conditional, which is why CVSS 3.1 scores it 5.9 with AC:H: the escape only happens against an upstream whose path handling treats a decoded backslash as a separator, the advisory's canonical case being a Windows host serving static files, and the flaw is moot wherever prefix/rewritePrefix is not relied on as a confidentiality boundary. There is no public exploit identified at time of analysis and no KEV listing, and the vendor-released fix is version 11.6.3; the CNA is the OpenJS Foundation and priority is this_month rather than emergency response.
fastify-http-proxy is an npm package which is a fastify plugin for proxying your http requests to another server, with hooks. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.