# CVE-2026-120213: @fastify/http-proxy vulnerable to prefix escape via decoded route parameters

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 11.6.6 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-02 · Modified: 2026-11-02
- Record: https://cvemate.com/vulnerability/CVE-2026-120213 · JSON: https://cvemate.com/vulnerability/CVE-2026-120213/json

## Description

```text
@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.
```

## Signals

- CVSS: 9.1 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS: 0.853%, percentile 59.533%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- @fastify/http-proxy @fastify/http-proxy: ≥ 9.0.0, \< 11.6.6

## References

- <https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-h3vp-4jfr-v364>
- <https://cna.openjsf.org/security-advisories.html>

---

Data as of 2026-12-05T09:21:11.468Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
