@fastify/http-proxy vulnerabilities
In the last 30 days, 7 @fastify/http-proxy vulnerabilities were published: 1 critical, 0 actively exploited. Most common weakness: path traversal (CWE-22).
CVSS score: 9.1 Severity: Critical Identifier: CVE-2026-120213 @fastify/http-proxy vulnerable to prefix escape via decoded route parameters Package: @fastify/http-proxy fixed in 11.6.6 Published Published
@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 9.0.0 through 11.6.5, when an application uses parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path, the plugin substitutes URL-decoded route parameters into rewritePrefix without re-encoding them. A parameter value that encodes a path separator together with a fragment or query delimiter therefore decodes into real separators and delimiters that inject extra upstream path segments and strip the mandatory suffix the rewritePrefix was meant to enforce, without using any dot-dot traversal. An unauthenticated remote attacker can use this to reach upstream locations outside the intended prefix, leading to path-restriction bypass and, depending on the upstream, server-side request forgery or authorization bypass in the proxied service. The issue is fixed in @fastify/http-proxy 11.6.6, and users should upgrade to 11.6.6 or later. There is no workaround other than upgrading.
- Exploitation
- No known exploitation
- EPSS
- 0.85% chance of exploitation in the next 30 days, higher than 55.7% of CVEs
- CVSS
- 9.1 out of 10 · source NVD (ce714d77-add3-4f53-aff5-83d477b104bb)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Versions
- 9.0.0 → <11.6.6 · fixed in 11.6.6
- Weakness
- CWE-22, CWE-436
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 2, 2026 · first seen here 4 h ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-129500 @fastify/http-proxy vulnerable to Denial of Service via unhandled error on the WebSocket upgrade socket Package: @fastify/http-proxy fixed in 11.6.10 Published Published
@fastify/http-proxy is a Fastify plugin that proxies HTTP and WebSocket traffic to an upstream server. In versions from 9.0.0 up to but not including 11.6.10, when the plugin is registered with websocket support enabled, it takes every upgraded socket and dispatches the request through the Fastify router before the WebSocket library takes ownership of the socket. Node.js removes its own error listener from the socket before emitting the upgrade event, and the plugin does not attach one of its own during routing, so a socket error such as a client connection reset that arrives before the WebSocket library takes over is unhandled and terminates the Node.js process. The error window is open whenever anything asynchronous runs between dispatch and the route handler, such as an async hook on the proxied route or any unrelated async route in the application. A single unauthenticated upgrade request followed by a connection reset is enough to crash the server, and it can be repeated to keep the process down. The issue is fixed in @fastify/http-proxy 11.6.10, and users should upgrade to 11.6.10 or later.
- Exploitation
- No known exploitation
- EPSS
- 0.49% chance of exploitation in the next 30 days, higher than 34.7% of CVEs
- CVSS
- 7.5 out of 10 · source NVD (ce714d77-add3-4f53-aff5-83d477b104bb)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- 9.0.0 → <11.6.10 · fixed in 11.6.10
- Weakness
- CWE-248
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 19, 2026 · first seen here 3 h ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-129502 @fastify/http-proxy vulnerable to Denial of Service via a URL fragment in a WebSocket upgrade Package: @fastify/http-proxy fixed in 11.6.10 Published Published
@fastify/http-proxy is a Fastify plugin that proxies HTTP and WebSocket traffic to an upstream server. In versions from 9.4.0 up to but not including 11.6.10, when the plugin is registered with websocket support enabled, a WebSocket upgrade request whose path carries a URL fragment is matched by the router and answered with a successful upgrade before the upstream link is created. Building the upstream target then throws, the error is only logged, and the accepted client socket is left open with no error listener, so the next frame the client sends becomes an unhandled error and terminates the Node.js process. A request target that is not a valid URL reference reaching a parameterized prefix triggers the same path. A single unauthenticated upgrade request followed by one frame is enough to crash the server, and it can be repeated to keep the process down. The issue is fixed in @fastify/http-proxy 11.6.10, and users should upgrade to 11.6.10 or later.
- Exploitation
- No known exploitation
- EPSS
- 0.49% chance of exploitation in the next 30 days, higher than 34.7% of CVEs
- CVSS
- 7.5 out of 10 · source NVD (ce714d77-add3-4f53-aff5-83d477b104bb)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- 9.4.0 → <11.6.10 · fixed in 11.6.10
- Weakness
- CWE-248
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 19, 2026 · first seen here 3 h ago
CVSS score: 7.5 Severity: High Identifier: CVE-2026-130647 @fastify/http-proxy vulnerable to Denial of Service via a pipelined WebSocket upgrade Package: @fastify/http-proxy fixed in 11.6.10 Published Published
@fastify/http-proxy is a Fastify plugin that proxies HTTP and WebSocket traffic to an upstream server. In versions from 9.0.0 up to but not including 11.6.10, when the plugin is registered with websocket support enabled, a WebSocket upgrade that is pipelined behind another HTTP request on the same cleartext connection arrives while that request's response is still attached to the socket. The shared upgrade listener sees the socket is already claimed and returns early without taking the upgrade, but it does not attach an error listener to the raw socket, and Node.js has already removed its own error listener before emitting the upgrade event. A later socket error on that connection, such as a client connection reset, is therefore unhandled and terminates the Node.js process. A single unauthenticated connection that pipelines an upgrade behind a normal request and then resets is enough to crash the server, and it can be repeated to keep the process down. Upgrades over TLS are not affected. The issue is fixed in @fastify/http-proxy 11.6.10, and users should upgrade to 11.6.10 or later.
- Exploitation
- No known exploitation
- EPSS
- 0.49% chance of exploitation in the next 30 days, higher than 34.7% of CVEs
- CVSS
- 7.5 out of 10 · source NVD (ce714d77-add3-4f53-aff5-83d477b104bb)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Versions
- 9.0.0 → <11.6.10 · fixed in 11.6.10
- Weakness
- CWE-248
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 19, 2026 · first seen here 3 h ago
CVSS score: 6.5 Severity: Medium Identifier: CVE-2026-127060 @fastify/http-proxy vulnerable to prefix escape via semicolon path-parameter dot-segments Package: @fastify/http-proxy fixed in 11.6.10 Published Published
@fastify/http-proxy is a Fastify plugin that proxies HTTP and WebSocket traffic to an upstream server. In versions before 11.6.10, it rejects destinations containing parent-directory path segments by an exact string match, so a segment that carries a semicolon path parameter, such as a dot-dot segment followed by a semicolon and an optional parameter, is not equal to the plain dot-dot form and passes the check, and the WHATWG URL parser keeps it as an ordinary segment so the rewrite-prefix containment check also passes. Servlet containers such as Apache Tomcat and Jetty strip semicolon path parameters from each segment before resolving dot-segments, so a request routed through the configured prefix is rewritten and reaches the upstream where it resolves above the intended subtree, escaping the path the proxy is meant to expose and, on some containers, crossing application contexts. Both the HTTP and WebSocket proxy paths are affected. The issue is fixed in @fastify/http-proxy 11.6.10, and users should upgrade to 11.6.10 or later.
- Exploitation
- No known exploitation
- EPSS
- 0.36% chance of exploitation in the next 30 days, higher than 22.5% of CVEs
- CVSS
- 6.5 out of 10 · source NVD (ce714d77-add3-4f53-aff5-83d477b104bb)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N - Versions
- 0 → <11.6.10 · fixed in 11.6.10
- Weakness
- CWE-22, CWE-436
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 19, 2026 · first seen here 3 h ago
CVSS score: 5.9 Severity: Medium Identifier: CVE-2026-133111 @fastify/http-proxy vulnerable to Cross-Site WebSocket Hijacking via dropped Origin header Package: @fastify/http-proxy fixed in 11.6.10 Published Published
@fastify/http-proxy is a Fastify plugin that proxies HTTP and WebSocket traffic to an upstream server. In versions from 7.1.0 up to but not including 11.6.10, when the plugin is registered with websocket support enabled, it opens the upstream WebSocket connection with a header set built by the default header rewriter, which forwards the client cookie but never sets the upstream origin option, so the browser origin header is dropped while the authenticating cookie is forwarded. Many WebSocket servers defend against cross-site hijacking by checking the origin and treat a missing origin as a trusted non-browser client, so behind the proxy that check never sees the foreign origin. A malicious page visited by a logged-in user can therefore open a WebSocket through the proxy to an upstream that authenticates the handshake with a cookie, and read or send messages on the user's behalf. The issue is fixed in @fastify/http-proxy 11.6.10, and users should upgrade to 11.6.10 or later. As a workaround, provide a header rewriter that sets a correct origin, or validate the origin before the proxy.
- Exploitation
- No known exploitation
- EPSS
- 0.14% chance of exploitation in the next 30 days, higher than 1.7% of CVEs
- CVSS
- 5.9 out of 10 · source NVD (ce714d77-add3-4f53-aff5-83d477b104bb)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N - Versions
- 7.1.0 → <11.6.10 · fixed in 11.6.10
- Weakness
- CWE-1385
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 19, 2026 · first seen here 3 h ago
CVSS score: 5.9 Severity: Medium Identifier: CVE-2026-120214 @fastify/http-proxy vulnerable to prefix escape via percent-encoded backslash dot-segments Package: @fastify/http-proxy fixed in 11.6.3 Published Published
@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 11.6.0 through 11.6.2, the destination validation normalizes literal backslashes before it percent-decodes the request path, so a path that encodes its backslashes and dot-segments survives the dot-segment check and is only turned into backslash and double-dot sequences after that check has passed. When the upstream resolves on a platform that treats a backslash as a path separator, the forwarded request walks out of the configured proxy prefix and reaches a sibling location on the upstream. An unauthenticated remote attacker can use this to retrieve upstream resources outside the intended prefix, so the impact is confidentiality only, and exploitation depends on the upstream's path handling. The issue is fixed in @fastify/http-proxy 11.6.3, and users should upgrade to 11.6.3 or later. This is a follow-up to the earlier prefix-escape fix, which did not account for the encoded-backslash form.
- Exploitation
- No known exploitation
- EPSS
- 0.53% chance of exploitation in the next 30 days, higher than 38.6% of CVEs
- CVSS
- 5.9 out of 10 · source NVD (ce714d77-add3-4f53-aff5-83d477b104bb)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Versions
- 11.6.0 → <11.6.3 · fixed in 11.6.3
- Weakness
- CWE-22
- Sources
- CVE.org · NVD · EPSS
- Dates
- published Nov 2, 2026 · first seen here 4 h ago