CVE-2025-66415: fastify-reply-from affected by bypass of reply forwarding
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.
Published Dec 2, 2025
Affected packages
@fastify/reply-from
- Ecosystem
- npm
- Affected
- <= 12.4.0
- Fixed in
- 12.5.0
- Check
npm ls @fastify/reply-from
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to rozzilla.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
