Repository navigation
⚠️ Security Release
This release fixes five vulnerabilities. Four of them affect applications that use websocket: true. The fifth, GHSA-7mjf-mp6r-87p8, affects HTTP and WebSocket proxying to servlet upstreams such as Tomcat or Jetty.
| Advisory | CVE | Severity | Affected versions | Summary |
|---|---|---|---|---|
| GHSA-6fhg-8r33-fcww | CVE-2026-130647 | High | >= 9.0.0, < 11.6.10 |
Denial of Service via a pipelined WebSocket upgrade |
| GHSA-q659-79j2-32h5 | CVE-2026-129500 | High | >= 9.0.0, < 11.6.10 |
Denial of Service via an unhandled error on the WebSocket upgrade socket |
| GHSA-29w6-p7r8-xmf9 | CVE-2026-129502 | High | >= 9.4.0, < 11.6.10 |
Denial of Service via a URL fragment in a WebSocket upgrade |
| GHSA-7mjf-mp6r-87p8 | CVE-2026-127060 | Medium | < 11.6.10 |
Prefix escape via semicolon path-parameter dot-segments |
| GHSA-w3r4-6w5h-3vrc | CVE-2026-133111 | Medium | >= 7.1.0, < 11.6.10 |
Cross-Site WebSocket Hijacking via dropped Origin header |
Upgrade to @fastify/http-proxy v11.6.10. See each advisory for the workarounds available, if any.
Behavior changes
- WebSocket upgrades now forward the client's
Originheader to the upstream, unlesswsClientOptions.originis set orrewriteRequestHeadersalready returns anOriginheader. The upstream still receives its own address asHost, so an upstream that requiresOriginto matchHostmust now allow the origins of the clients served by the proxy. - Destinations with a
..segment that carries;path parameters (for example/..;/or/..;jsessionid=x/) are now rejected. Matrix parameters on other segments are still forwarded unchanged.
What's Changed
- fix: guard websocket upgrade sockets against unhandled errors (GHSA-q659-79j2-32h5) in fef631a
- fix: terminate websocket clients when the upstream link cannot be created (GHSA-29w6-p7r8-xmf9) in 295f302
- fix: reject dot-segments carrying path parameters in destinations (GHSA-7mjf-mp6r-87p8) in 3b7be0c
- fix: guard and close websocket upgrades the proxy cannot take (GHSA-6fhg-8r33-fcww) in 542b5d3
- fix: forward client Origin header on websocket upgrades (GHSA-w3r4-6w5h-3vrc) in e157be1
- test: cover ignoreTrailingSlash for websocket upgrades, update README by @Tony133 in #498
Credits
- @assakafpix for reporting GHSA-6fhg-8r33-fcww
- @apflffhtm for reporting GHSA-q659-79j2-32h5 and GHSA-29w6-p7r8-xmf9
- @Akokonunes and @rootsys-research for reporting GHSA-7mjf-mp6r-87p8
- @rootsys-research for reporting GHSA-w3r4-6w5h-3vrc
- @mcollina and @UlisesGascon for the remediation
Full Changelog: v11.6.9...v11.6.10