CVE-2026-133111
Published:November 19, 2026
Updated:November 20, 2026
@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.
Affected Packages
https://github.com/fastify/fastify-http-proxy.git (GITHUB):
Affected version(s) >=v7.1.0 <v11.6.10 || >=v8.0.0 <v11.6.10 || >=v9.0.0 <v11.6.10 || >=v10.0.0 <v11.6.10 || >=v11.0.0 <v11.6.10Fix Suggestion:
Update to version v11.6.10@fastify/http-proxy (NPM):
Affected version(s) >=9.0.0 <11.6.10 || >=11.0.0 <11.6.10 || >=7.1.0 <11.6.10 || >=8.0.0 <11.6.10 || >=10.0.0 <11.6.10Fix Suggestion:
Update to version 11.6.10Related ResourcesĀ (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
6
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Missing Origin Validation in WebSockets