๐Ÿ” CVE Alert

CVE-2026-120213

CRITICAL 9.1

@fastify/http-proxy vulnerable to prefix escape via decoded route parameters

CVSS Score
9.1
EPSS Score
0.0%
EPSS Percentile
0th

@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 9.0.0 through 11.6.5, when an application uses parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path, the plugin substitutes URL-decoded route parameters into rewritePrefix without re-encoding them. A parameter value that encodes a path separator together with a fragment or query delimiter therefore decodes into real separators and delimiters that inject extra upstream path segments and strip the mandatory suffix the rewritePrefix was meant to enforce, without using any dot-dot traversal. An unauthenticated remote attacker can use this to reach upstream locations outside the intended prefix, leading to path-restriction bypass and, depending on the upstream, server-side request forgery or authorization bypass in the proxied service. The issue is fixed in @fastify/http-proxy 11.6.6, and users should upgrade to 11.6.6 or later. There is no workaround other than upgrading.

CWE CWE-22 CWE-436
Vendor @fastify/http-proxy
Product @fastify/http-proxy
Published Nov 2, 2026
Stay Ahead of the Next One

Get instant alerts for @fastify/http-proxy @fastify/http-proxy

Be the first to know when new critical vulnerabilities affecting @fastify/http-proxy @fastify/http-proxy are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

@fastify/http-proxy / @fastify/http-proxy
9.0.0 < 11.6.6

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-h3vp-4jfr-v364 cna.openjsf.org: https://cna.openjsf.org/security-advisories.html

Credits

๐Ÿ” Panelv4 UlisesGascon mcollina