Skip to content
Fencer Intel
medium 5.9

CVE-2026-133111 json

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

published 10h ago modified 6h ago also EUVD-2026-130502 , GHSA-w3r4-6w5h-3vrc

Unreviewed: the maintainers' own advisory

Published by the maintainers on their GitHub repository fastify/fastify-http-proxy. GitHub has not reviewed it into the GitHub Advisory Database, so the affected packages and versions are the maintainers' word. Read the full advisory on GitHub.

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
—
no EPSS score yet
public exploits
0
none known

Summary

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

Patch / fix

  • npm @fastify/http-proxy 11.6.10
  • @fastify/http-proxy @fastify/http-proxy 11.6.10

Is CVE-2026-133111 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
6h ago

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm @fastify/http-proxy
>=7.1.0, <11.6.10
11.6.10

Affected products

  • @fastify/http-proxy @fastify/http-proxy

Classification

Weakness
  • CWE-1385 Missing Origin Validation in WebSockets

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of fastify/fastify-http-proxy published their own advisory on GitHub. Reviewed sources take precedence over it.