Advisory

GHSA-2q7r-29rg-6m5h

Also known as: CVE-2025-66415

Summary

fastify-reply-from affected by bypass of reply forwarding

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-12-02 00:38 UTC
Modified
2025-12-02 01:30 UTC

Affected packages and fixes

@fastify/reply-from

npm · All systems

Affected

  • introduced 0, fixed 12.5.0 (semver)

Fixed versions

12.5.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences