Intel

AIKIDO-2026-657105

@fastify/reply-from is vulnerable to Path Traversal

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

82

CVE Score

High

Path Traversal

Are you affected? Scan for Free

TL;DR

Before the fix, buildURL() in @fastify/reply-from rejected dot-segments only when delimited by forward slashes, so a request path using backslash dot-segments (raw \ or %5c) passed the check and the WHATWG URL parser normalized it to /, letting an unauthenticated client escape the upstream prefix an app scopes reply.from() to and reach other upstream endpoints. Versions 12.5.0 and 12.6.1 reject any .. and are not affected; the bypass regressed in 12.6.2 when the check became segment-based. The fix normalizes backslashes before splitting the path and rejects any . or .. segment, plus control characters and ambiguous whitespace.

How do I fix this?

Upgrade the @fastify/reply-from package to 12.8.1 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and use reply.from() to proxy a path that includes request-supplied segments able to contain backslash dot-segments.

Versions

12.6.2 - 12.8.0

Fixed in 12.8.1

Background info

@fastify/reply-from is vulnerable to Path Traversal in versions 12.6.2 - 12.8.0.

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