Intel

AIKIDO-2026-821711

@fastify/http-proxy is vulnerable to Path Traversal

CVE-2026-120213Published Nov 2, 2026
November 2, 2026

91

CVE Score

Critical

Path Traversal

Are you affected? Scan for Free

TL;DR

Before the fix, fastifyHttpProxy spliced URL-decoded route parameters into rewritePrefix without re-encoding them. An unauthenticated client of an application that pins clients to a fixed upstream path with a parameterized prefix and rewritePrefix could send a value like admin%2fmaster-keys%23 to inject extra upstream path segments or strip the mandatory suffix, reaching upstream locations outside the intended path without any .. traversal. The fix re-encodes substituted parameters with encodeURIComponent (and #/? in wildcard values), so decoded separators can no longer alter the forwarded destination.

How do I fix this?

Upgrade the @fastify/http-proxy package to 11.6.6 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and configure a parameterized prefix with rewritePrefix so route parameters are substituted into the upstream path, reachable by unauthenticated clients.

Versions

9.0.0 - 11.6.5

Fixed in 11.6.6

Background info

@fastify/http-proxy is vulnerable to Path Traversal in versions 9.0.0 - 11.6.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea