CVE-2021-21322Patch(fastify-http-proxy_project / fastify-http-proxy)

LOWCVSS 9.8 · CRITICAL

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch fastify-http-proxy_project fastify-http-proxy systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD description

fastify-http-proxy is an npm package which is a fastify plugin for proxying your http requests to another server, with hooks. By crafting a specific URL, it is possible to escape the prefix of the proxied backend service. If the base url of the proxied server is `/pub/`, a user expect that accessing `/priv` on the target service would not be possible. In affected versions, it is possible. This is fixed in version 4.3.1.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-20

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • fastify-http-proxy

Threat summary

  • Patch or workaround signal is available
  • 1 mentions across 1 observed day

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 1 signal
  • 1 total mentions across 1 day

Affected systems

Products
fastify-http-proxy

Deep dive

Activity timeline1 mentions / 1d
00111Mentions · 2026-07-18: 1Patch / Workaround · 2026-07-18: 1Technical Details · 2026-07-18: 107-18
Signal classification1 categories
Patch
1100.0%
Full discourse1 post
  • Upwind Security MDR@UpwindMDR
    Patch

    🚨High - Two Fastify proxy routing flaws let requests reach unintended upstreams (CVE-2026-16158 & CVE-2026-15631) Two official Fastify (OpenJS) proxy plugins have request-routing vulnerabilities, both CVSS 8.7. CVE-2026-16158 (@fastify/reply-from): the internal URL cache key concatenates destination and source paths with no delimiter, so different pairs can collide. A URL cached for one upstream can be reused for a request meant for another, causing cross-upstream data access and modification. The default config is affected. Fixed in 12.6.4 (workaround: disableCache: true). CVE-2026-15631 (@fastify/http-proxy): WebSocketProxy.findUpstream resolves the destination via the WHATWG URL constructor, which collapses dot segments, so a crafted WebSocket upgrade with traversal sequences can escape the rewrite prefix and reach upstreams that were never meant to be exposed. A WebSocket variant of CVE-2021-21322. Reachable via non-normalizing clients or forwarding proxies. Fixed in 11.6.0 (no workaround). 👉Upgrade @fastify/reply-from to 12.6.4 and @fastify/http-proxy to 11.6.0.

    Post summary

    Two CVE-2026-16158 and CVE-2026-15631 vulnerabilities in Fastify proxy plugins are disclosed with detailed exploitation mechanics, high CVSS scores, and patch versions (12.6.4 and 11.6.0) along with a specific workaround for the first.

    00000213
    254 followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appfastify-http-proxy_projectfastify-http-proxy-node.js-

Explore more