Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 3 min 117 bronnen 1 kritiek 11 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-15631

HIGH · 8.7 CVSS Gepubliceerd: CWE-22

Beschrijving NL

Impact: @ fastify/http-proxyversies van 9.4.0 tot en met 11.5.0 valideren het opgeloste WebSocket-bestemmingspad niet tegen het geconfigureerde herschrijfvoorvoegsel. Het WebSocket-routeringspad in WebSocketProxy.findUpstream lost de bestemming op via de WHATWG URL-constructor, die puntsegmenten instort, zodat een vervaardigd upgradeverzoek met padtraversale sequenties kan ontsnappen aan het herschrijvingsvoorvoegsel en stroomopwaartse eindpunten kan bereiken die niet bedoeld waren om door de proxy te worden blootgesteld. Dit is een variant van CVE-2021-21322 in een codepad dat nooit de HTTP-fix in fastify/reply-from heeft doorlopen. Exploitatie vereist een niet-normaliserende WebSocket-client, omdat browsers en het WS-pakket het aanvraagpad normaliseren voordat ze worden verzonden, maar onbewerkte HTTP-clients of downstream-proxy's die het aanvraagdoel ongewijzigd doorsturen, maken de aanval bereikbaar in productietopologieën. Patches: upgrade naar @fastify/http-proxy 11.6.0. Workarounds: geen.

Origineel (Engels) tonen

Impact: @fastify/http-proxy versions from 9.4.0 up to and including 11.5.0 fail to validate the resolved WebSocket destination path against the configured rewrite prefix. The WebSocket routing path in WebSocketProxy.findUpstream resolves the destination via the WHATWG URL constructor, which collapses dot segments, so a crafted upgrade request with path traversal sequences can escape the rewrite prefix and reach upstream endpoints that were not meant to be exposed by the proxy. This is a variant of CVE-2021-21322 in a code path that never went through the HTTP fix in fastify/reply-from. Exploitation requires a non-normalizing WebSocket client, since browsers and the ws package normalize the request path before sending, but raw HTTP clients or downstream proxies that forward the request target unchanged make the attack reachable in production topologies.

Patches: upgrade to @fastify/http-proxy 11.6.0.

Workarounds: none.

Vendors

Fastify

Affected products

Fastify/http-proxy

References