Directory Traversal Vulnerability in Fastify Plugin by Fastify
CVE-2026-130886

8.2HIGH

Key Information:

Vendor
CVE Published:
19 November 2026

What is CVE-2026-130886?

The @fastify/reply-from plugin contains a directory traversal vulnerability that allows an unauthenticated client to access files outside the configured prefix. This occurs when the plugin's buildURL function mistakenly allows encoded parent-directory traversals due to a bypass in the check for source strings with special schemes like http or https. As a result, requests can escape intended resource restrictions. To mitigate this risk, users should upgrade to @fastify/reply-from version 12.8.4 or later, where this issue has been resolved.

Affected Version(s)

@fastify/reply-from 12.8.1 < 12.8.4

@fastify/reply-from 12.8.4

References

CVSS V3.1

Score:
8.2
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Sumit-Sabhaya
mcollina
UlisesGascon
.