{"id":"CVE-2025-66415","published":"2025-12-01T22:39:32Z","modified":"2025-12-02T14:13:45Z","title":"fastify-reply-from bypass of reply forwarding","vendor":"fastify","product":"fastify-reply-from","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00339,"percentile":0.19784,"provenance":"source"},"cwes":[{"id":"CWE-441","name":"Unintended Proxy or Intermediary"}],"references":[{"url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-2q7r-29rg-6m5h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66","tags":["x_refsource_MISC"]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":3.96},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"fastify","affectedVersions":[{"vendor":"fastify","product":"fastify-reply-from","versions":["< 12.5.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-02T14:13:33.196001Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@fastify/reply-from","vulnerableRanges":["<12.5.0"],"patched":["12.5.0"],"from":["GHSA-2q7r-29rg-6m5h"],"provenance":"source"}],"summary":{"text":"The fastify-reply-from plugin, which forwards incoming HTTP requests to another server, contains a flaw in the reply forwarding logic of the @fastify/reply-from component, where it fails to enforce route restrictions defined for specific routes. An unauthenticated remote attacker can exploit this over the network by crafting a malicious URL, without requiring any privileges or user interaction, to reach routes that should not be proxied.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:17Z"},"euvd":{"id":"EUVD-2025-200117","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fastify-reply-from-cve-2023-51701","parents":[{"from":"CVE-2023-51701","to":"CVE-2025-66415","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/fastify/fastify-reply-from/commit/cbd7c17c09e6476268e34f5e499a6b923e8acc18","https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66"],"basis":"shared function","functions":["from"]}]}],"packageHistory":[{"cve":"CVE-2023-51701","published":"2024-01-08","fixed":"9.6.0","kev":false},{"cve":"CVE-2025-66415","published":"2025-12-01","fixed":"12.5.0","kev":false},{"cve":"CVE-2026-33805","published":"2026-04-15","fixed":"12.6.2","kev":false,"link":{"from":"CVE-2025-66415","to":"CVE-2026-33805","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@fastify/reply-from","fromFixed":"12.5.0","toFixed":"12.6.2","daysApart":135}]}}],"package":"npm:@fastify/reply-from"}}