{"answers":{"affected":"2 open source packages ship an affected version, including @fastify/reply-from. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-66415 in the wild and no public exploit code.","fix":"Upgrade @fastify/reply-from to 12.5.0 or later.","what":"CVE-2025-66415 is a medium-severity missing authorization vulnerability in fastify-reply-from, published on 1 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-66415 and fix it if it is affected.\n\nWhat it is: CVE-2025-66415 is a medium-severity missing authorization vulnerability in fastify-reply-from, published on 1 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-66415 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @fastify/reply-from (npm): affected all versions; fixed in 12.5.0\n- @fastify/reply-from (npm): affected all versions; fixed in 12.5.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-66415/ (Markdown: https://insights.sbomify.com/CVE-2025-66415/index.md)","id":"CVE-2025-66415","markdown":"https://insights.sbomify.com/CVE-2025-66415/index.md","name":"CVE-2025-66415","record":{"aliases":["GHSA-2q7r-29rg-6m5h"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Fastify reply forwarding plugin","requires_auth":"none","summary":"Attackers can bypass route restrictions in fastify-reply-from to access unauthorized endpoints by crafting malicious URLs.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"reply-from","vendor":"fastify"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-441","name":"Unintended Proxy or Intermediary"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"fastify-reply-from bypass of reply forwarding","id":"CVE-2025-66415","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"DNS Rebinding Protection Disabled by Default in Model Context Protocol Python SDK for Servers Running on Localhost","id":"CVE-2025-66416"},"packages":[{"ecosystem":"npm","fixed":["12.5.0"],"introduced":["0"],"last_affected":[],"package":"@fastify/reply-from","purl":null,"source":"GHSA-2q7r-29rg-6m5h"},{"ecosystem":"npm","fixed":["12.5.0"],"introduced":["0"],"last_affected":[],"package":"@fastify/reply-from","purl":"pkg:npm/%40fastify/reply-from","source":"GHSA-2q7r-29rg-6m5h"}],"prev":{"headline":"DNS Rebinding Protection Disabled by Default in Model Context Protocol TypeScript SDK for Servers Running on Localhost","id":"CVE-2025-66414"},"products":["fastify-reply-from"],"published":"2025-12-01","related":[{"cvss_score":5.3,"headline":"@fastify-reply-from JSON Content-Type parsing confusion","id":"CVE-2023-51701","kev_date_added":null,"published":"2024-01-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-02","vendors":["fastify"]},"summary":"Attackers can bypass route restrictions in fastify-reply-from to access unauthorized endpoints by crafting malicious URLs.","url":"https://insights.sbomify.com/CVE-2025-66415/"}