{"id":"CVE-2025-66415","aliases":["CVE-2025-66415","GHSA-2q7r-29rg-6m5h"],"related":[],"kind":"vulnerability","state":"published","title":"fastify-reply-from bypass of reply forwarding","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Summary\nBy 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`.\n\n### Details\n\nAn 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`.\n\n### Impact\n\nEveryone is using this package with the routes option to protect a 3rd-party resource.","format":"markdown","source":"ghsa"},{"lang":"es","text":"fastify-reply-from es un plugin de Fastify para reenviar la solicitud HTTP actual a otro servidor. Versiones anteriores a 12.5.0, al elaborar una URL maliciosa, un atacante podría acceder a rutas no permitidas, incluso si el reply.from está definido para rutas específicas en @fastify/reply-from. Esta vulnerabilidad está corregida en 12.5.0.","source":"nvd"}],"published":"2025-12-01T22:39:32.468Z","modified":"2026-10-18T18:10:00.100Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-441"],"affected":[{"ranges":[{"version":"< 12.5.0","status":"affected"}],"vendor":"fastify","product":"fastify-reply-from","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"12.5.0"}],"ecosystem":"npm","package":"@fastify/reply-from","purl":"pkg:npm/%40fastify/reply-from","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"12.4.0"}],"vendor":"fastify","product":"reply-from","cpe":"cpe:2.3:a:fastify:reply-from:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-2q7r-29rg-6m5h","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66415","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/fastify/fastify-reply-from","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-12-02T14:13:33.196Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66415","url":"https://www.cve.org/CVERecord?id=CVE-2025-66415","licence":"CVE Terms of Use","modified":"2025-12-02T14:13:45.644Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2q7r-29rg-6m5h","url":"https://github.com/advisories/GHSA-2q7r-29rg-6m5h","licence":"CC-BY-4.0","modified":"2025-12-02T01:30:13.011Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66415","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66415","licence":"Public domain","modified":"2026-10-18T18:10:00.100Z"}],"updatedAt":"2026-11-25T22:59:08.153Z","epss":{"score":0.00191,"percentile":0.09216,"date":"2026-12-01T12:00:22.000Z"}}