Path Restriction Bypass Vulnerability in @fastify/http-proxy Plugin
CVE-2026-120213
Key Information:
- Vendor
@fastify/http-proxy
- Status
- Vendor
- CVE Published:
- 2 November 2026
Badges
What is CVE-2026-120213?
CVE-2026-120213 is a vulnerability found in the @fastify/http-proxy plugin, which serves as a tool to proxy HTTP requests to an upstream server under a specified prefix. This vulnerability arises in versions 9.0.0 through 11.6.5 when applications employ parameterized prefix and rewritePrefix options that are intended to control the upstream path for clients. The flaw lies in the way the plugin processes URL-decoded route parameters, allowing an attacker to inject additional upstream path segments that could potentially lead to unauthorized access to locations outside the intended reach. This scenario can culminate in serious repercussions, including server-side request forgery (SSRF) or authorization bypass, making it critical for affected organizations to address the issue promptly by upgrading to version 11.6.6 or later, as no workaround is available.
Potential impact of CVE-2026-120213
-
Path Restriction Bypass: The vulnerability enables attackers to circumvent path restrictions that are meant to limit access to specific server endpoints, allowing unauthorized access to sensitive server resources and data.
-
Server-Side Request Forgery (SSRF): Exploiting this vulnerability could allow a remote attacker to craft requests that reach internal services or other unintended targets, potentially leading to information leakage or further exploitation of the internal network.
-
Authorization Bypass: Attackers could leverage this vulnerability to bypass authentication mechanisms in the proxied service, potentially gaining access to restricted functionalities or sensitive information, jeopardizing the organization's overall security posture.
Affected Version(s)
@fastify/http-proxy 9.0.0 < 11.6.6
@fastify/http-proxy 11.6.6
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V3.1
Timeline
- π‘
Public PoC available
- πΎ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
