{"id":"CVE-2025-66415","aliases":["GHSA-2q7r-29rg-6m5h"],"summary":"fastify-reply-from bypass of reply forwarding","published_at":"2025-12-01T22:39:32.468Z","modified_at":"2026-03-16T08:31:20Z","products":[],"rating":{"severity":"medium","score":6.9,"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0019099999917671084,"percentile":0.08900000154972076,"date":"2026-11-19T00:00:00Z"},"priority":8.9,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"fastify/fastify-reply-from","versions":["< 12.5.0"],"provider":"cvelistv5","source":"CVE-2025-66415","relation":"self"},{"ecosystem":"NVD","package":"fastify:reply-from","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"12.4.0"}]}],"provider":"nvd","source":"CVE-2025-66415","relation":"self"},{"ecosystem":"npm","package":"@fastify/reply-from","purl":"pkg:npm/%40fastify/reply-from","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"12.5.0"}]}],"fixed":["12.5.0"],"provider":"osv","source":"GHSA-2q7r-29rg-6m5h","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-dashboard-rhel8","rhoai/odh-dashboard-rhel9","rhoai/odh-mod-arch-gen-ai-rhel9","rhoai/odh-mod-arch-model-registry-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-66415"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-66415"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2025-66415","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-66415","license":"CC-BY-4.0","published_at":"2025-12-01T22:39:32.468Z","modified_at":"2025-12-02T14:13:45.644Z","summary":"fastify-reply-from bypass of reply forwarding","details":"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.","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","source":"CVE-2025-66415"}],"affected":[{"ecosystem":"CVE","package":"fastify/fastify-reply-from","versions":["< 12.5.0"],"provider":"cvelistv5","source":"CVE-2025-66415","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-2q7r-29rg-6m5h"},{"type":"WEB","url":"https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66"}]},{"provider":"nvd","source_id":"CVE-2025-66415","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66415","severity":[],"affected":[{"ecosystem":"NVD","package":"fastify:reply-from","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"12.4.0"}]}],"provider":"nvd","source":"CVE-2025-66415","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-2q7r-29rg-6m5h","relation":"self","url":"https://osv.dev/vulnerability/GHSA-2q7r-29rg-6m5h","license":"CC-BY-4.0","published_at":"2025-12-02T00:38:57Z","modified_at":"2025-12-02T01:30:13.011305Z","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.","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","source":"GHSA-2q7r-29rg-6m5h"}],"affected":[{"ecosystem":"npm","package":"@fastify/reply-from","purl":"pkg:npm/%40fastify/reply-from","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"12.5.0"}]}],"fixed":["12.5.0"],"provider":"osv","source":"GHSA-2q7r-29rg-6m5h","relation":"self"}],"product_status":[],"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"}]},{"provider":"redhat-vex","source_id":"CVE-2025-66415","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-66415","license":"CC-BY-4.0","published_at":"2025-12-01T22:39:32.468Z","modified_at":"2026-03-16T08:31:20Z","summary":"fastify-reply-from: fastify-reply-from: Unauthorized route access via malicious URL","details":"A flaw was found in fastify-reply-from. This vulnerability allows an attacker to bypass intended route restrictions and gain unauthorized access to specific application routes, potentially exposing sensitive information or functionality, via crafting a malicious Uniform Resource Locator (URL).","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"CVE-2025-66415"},{"type":"Red Hat","score":"Moderate","source":"CVE-2025-66415"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-dashboard-rhel8","rhoai/odh-dashboard-rhel9","rhoai/odh-mod-arch-gen-ai-rhel9","rhoai/odh-mod-arch-model-registry-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-66415"},{"vendor":"Red Hat","product":"Red Hat OpenShift Dev Spaces","cpe":"cpe:/a:redhat:openshift_devspaces:3","status":"affected","packages":["devspaces/dashboard-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2025-66415"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-66415.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-66415"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2418149"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-66415"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66415"},{"type":"WEB","url":"https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66"},{"type":"WEB","url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-2q7r-29rg-6m5h"}]}],"references":[{"type":"WEB","url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-2q7r-29rg-6m5h"},{"type":"WEB","url":"https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66415"},{"type":"PACKAGE","url":"https://github.com/fastify/fastify-reply-from"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-66415.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-66415"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2418149"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-66415"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2025-66415","url":"https://www.cve.org/CVERecord?id=CVE-2025-66415","license":"CC-BY-4.0","modified_at":"2025-12-02T14:13:45.644Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2025-66415","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66415","relation":"self"},{"provider":"osv","source_id":"GHSA-2q7r-29rg-6m5h","url":"https://osv.dev/vulnerability/GHSA-2q7r-29rg-6m5h","license":"CC-BY-4.0","modified_at":"2025-12-02T01:30:13.011305Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-66415","url":"https://access.redhat.com/security/cve/CVE-2025-66415","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:20Z","relation":"self"}]}
