WebSocket Origin Header Vulnerability in Fastify HTTP Proxy Plugin by Fastify
CVE-2026-133111
5.9MEDIUM
What is CVE-2026-133111?
The Fastify HTTP Proxy plugin has a vulnerability affecting versions from 7.1.0 up to but not including 11.6.10. When using the plugin with WebSocket support enabled, the upstream WebSocket connection is established without a proper origin set, allowing the forwarding of authentication cookies without validating the origin. This oversight can lead to unauthorized access, as malicious pages may exploit this by initiating a WebSocket connection that bypasses origin checks. The issue has been addressed in version 11.6.10, and users are advised to upgrade immediately or implement a workaround by specifying an appropriate origin in the header rewriter.
Affected Version(s)
@fastify/http-proxy 7.1.0 < 11.6.10
@fastify/http-proxy 11.6.10
