Vulnerabilityin fastify-reply-from.
No public exploit found; not on exploited lists.
fastify-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. In fastify-reply-from before version 4.0.2, by crafting a specific URL, it is possible to escape the prefix of the proxied backend service. If the base url of the proxied server is "/pub/", a user expect that accessing "/priv" on the target service would not be possible. In affected versions, it is possible. This is fixed in version 4.0.2.
- Upgrade fastify-reply-from to 4.0.2 or later.
- Upgrade fastify-reply-from (npm) to 4.0.2 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 22 Dec 2020CVE ID reserved by GitHub_M.
- 2 Mar 2021Published in the CVE List.
- 3 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other fastify-reply-from vulnerabilities
Same weakness: Improper input validation
- github.com x_refsource_CONFIRM
- www.npmjs.com x_refsource_MISC
- github.com x_refsource_MISC
Patchminder. CVE-2021-21321: Vulnerability in fastify-reply-from. https://patchminder.com/cve/cve-2021-21321/ (accessed 5 December 2026).