CVE-2026-133111 @fastify/http-proxy vulnerable to Cross-Site WebSocket Hijacking via dropped Origin header

Medium 5.9 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-133111?

CVE-2026-133111 is a medium-severity vulnerability in @fastify/http-proxy, published on 19 Nov 2026.

Official description

@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.

Weakness: CWE-1385

Which versions are affected by CVE-2026-133111?

1 open source package ship an affected version, including %40fastify/http-proxy.

PackageAffectedFixed in
%40fastify/http-proxy npm
pkg:npm/%40fastify/http-proxy
From 7.1.011.6.10

How do I fix CVE-2026-133111?

Upgrade each affected package to the fixed version listed for it above. Each package has its own fixed versions.

Is CVE-2026-133111 being exploited?

There is no known exploitation of CVE-2026-133111 in the wild and no public exploit code.

Sources

Is CVE-2026-133111 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free