A flaw was found in @fastify/http-proxy. When applications configure path rewriting using route parameters, the plugin fails to re-encode decoded URL parameters before constructing upstream request paths. An unauthenticated remote attacker can exploit this flaw by sending requests containing encoded path separators or query delimiters to bypass intended path restrictions. This allows the attacker to reach arbitrary endpoints on upstream servers, potentially leading to Server-Side Request Forgery (SSRF) or unauthorized access to internal services.
Exploitability
AV:NAC:LPR:NUI:NScope
S:UImpact
C:HI:HA:N9.1/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N