{"schemaVersion":3,"id":"CVE-2025-66415","aliases":["GHSA-2q7r-29rg-6m5h"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-12-01T22:39:32.468Z","modified":"2025-12-02T14:13:45.644Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":6.9,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00179,"percentile":0.07004,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00179},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00179,"percentile":0.07004}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00179,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00179,"percentile":0.07004}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-441","name":"Unintended Proxy or Intermediary ('Confused Deputy')","description":"The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/441.html"}],"affected":[{"vendor":"fastify","product":"fastify-reply-from","name":"fastify-reply-from","label":"fastify-reply-from","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 12.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 12.5.0","eol":null,"hubHref":"/vendor/fastify/fastify-reply-from"},{"vendor":"fastify","product":"reply-from","name":"reply-from","label":"reply-from","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 12.4.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 12.4.0","eol":null,"hubHref":"/vendor/fastify/reply-from"},{"vendor":"@fastify","product":"reply-from","name":"@fastify/reply-from","label":"reply-from","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@fastify/reply-from","purlType":"npm","versions":[{"text":"< 12.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 12.5.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-2q7r-29rg-6m5h","label":"github.com/fastify/fastify-reply-from/security/advisories/GHSA-2q7r-29rg-6m5h","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66","label":"github.com/fastify/fastify-reply-from/commit/4d9795cd5b57a36756d37b7f036eae369f69fa66","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66415","label":"nvd.nist.gov/vuln/detail/CVE-2025-66415","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/fastify/fastify-reply-from","label":"github.com/fastify/fastify-reply-from","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-12-01T22:39:32.468Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-02T14:13:45.644Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T02:41:16.992Z","stale":false,"partial":false}}