{"id":"GHSA-2q7r-29rg-6m5h","summary":"fastify-reply-from affected by bypass of reply forwarding","details":"### 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.","aliases":["CVE-2025-66415"],"modified":"2025-12-02T01:30:13.011305Z","published":"2025-12-02T00:38:57Z","database_specific":{"github_reviewed_at":"2025-12-02T00:38:57Z","nvd_published_at":"2025-12-01T23:15:54Z","cwe_ids":["CWE-441"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-2q7r-29rg-6m5h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66415"},{"type":"WEB","url":"https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66"},{"type":"PACKAGE","url":"https://github.com/fastify/fastify-reply-from"}],"affected":[{"package":{"name":"@fastify/reply-from","ecosystem":"npm","purl":"pkg:npm/%40fastify/reply-from"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"12.5.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 12.4.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-2q7r-29rg-6m5h/GHSA-2q7r-29rg-6m5h.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}