CVE-2025-66415: fastify-reply-from bypass of reply forwarding

Published Dec 1, 2025
·
Updated

Summary By crafting a malicious URL, an attacker could access routes that are not allowed, even though the reply.from is defined for specific routes in @fastify/reply-from.

Details

An attacker can bypass the route defined by the @fastify/reply-from package by adding a .. symbol, which, for curl version 8.7.1, is %2e%2e.

Impact

Everyone is using this package with the routes option to protect a 3rd-party resource.

Other sources

fastify-reply-from is a Fastify plugin to forward the current HTTP request to another server. Prior to 12.5.0, by crafting a malicious URL, an attacker could access routes that are not allowed, even though the reply.from is defined for specific routes in @fastify/reply-from. This vulnerability is fixed in 12.5.0.

MITRE

Affected Software

3 affected componentsFixes available
fastify reply-from<12.5.0
npm/@fastify/reply-from<=12.4.0
12.5.0
fastify Reply-from Node.js<=12.4.0

Event History

Dec 1, 2025
CVE Published
via MITRE·10:39 PM
Data Sourced
via MITRE·10:39 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyAffected Software
Dec 2, 2025
Advisory Published
via GitHub·12:38 AM
Data Sourced
via GitHub·12:38 AM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-66415?

CVE-2025-66415 is classified as a high-severity vulnerability due to its potential impact on unauthorized access to server routes.

2

How do I fix CVE-2025-66415?

To fix CVE-2025-66415, upgrade the fastify-reply-from plugin to version 12.5.0 or later.

3

What products are affected by CVE-2025-66415?

CVE-2025-66415 affects the fastify-reply-from plugin versions prior to 12.5.0.

4

What is the potential impact of exploiting CVE-2025-66415?

Exploiting CVE-2025-66415 could allow attackers to access restricted routes which could lead to data leakage or unauthorized actions.

5

Is there a known workaround for CVE-2025-66415?

There are currently no known workarounds for CVE-2025-66415, and upgrading to the patched version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203