# Fastify proxy prefix escape

Cite as: Gloqo AI, "Fastify proxy prefix escape", reviewed 2 Nov 2026, https://www.gloqo.ai/security-updates/advisories/fastify-http-proxy-2026-11-02/.

Gloqo reviewed the vendor and CNA records on 2 Nov 2026. Those sources are the authority for the vulnerability.

Product: @fastify/http-proxy
Published: 2026-11-02
Reviewed: 2026-11-02T22:05:50Z

## Summary

Decoded route parameters can escape a path restriction imposed by a Fastify proxy rewrite, potentially reaching unintended upstream routes.

## Affected

Versions 9.0.0 through before 11.6.6 are affected when an application relies on parameterized prefix and rewritePrefix to constrain access to an upstream path. Depending on the upstream, the result can include server-side request forgery or authorization bypass.

## Fix

Upgrade @fastify/http-proxy to 11.6.6 or later. The advisory lists no workaround; inspect proxy registrations and deployed dependency versions.

## Evidence

The maintainer advisory describes the attack path but does not report exploitation in the wild.

## Severity

The maintainer rates CVE-2026-120213 Critical, CVSS v3.1 9.1.

## Context

URL-decoded parameter delimiters can introduce path segments and remove an intended suffix without dot-dot traversal.

## CVEs

- [CVE-2026-120213](https://www.cve.org/CVERecord?id=CVE-2026-120213)

## Sources

1. [Fastify maintainer advisory GHSA-h3vp-4jfr-v364](https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-h3vp-4jfr-v364)
