CVE-2026-120213
Description
@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 9.0.0 through 11.6.5, when an application uses parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path, the plugin substitutes URL-decoded route parameters into rewritePrefix without re-encoding them. A parameter value that encodes a path separator together with a fragment or query delimiter therefore decodes into real separators and delimiters that inject extra upstream path segments and strip the mandatory suffix the rewritePrefix was meant to enforce, without using any dot-dot traversal. An unauthenticated remote attacker can use this to reach upstream locations outside the intended prefix, leading to path-restriction bypass and, depending on the upstream, server-side request forgery or authorization bypass in the proxied service. The issue is fixed in @fastify/http-proxy 11.6.6, and users should upgrade to 11.6.6 or later. There is no workaround other than upgrading.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
- CWE-436: Interpretation Conflict
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2026-11-02 |
Timeline
- 2026-11-02Published by the CNA10:15 UTC
- 2026-11-02CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| @fastify/http-proxy @fastify/http-proxy | from 9.0.0 before 11.6.6fixed in 11.6.6 | 11.6.6 |
References
- https://cna.openjsf.org/security-advisories.html
- https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-h3vp-4jfr-v364
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-120213'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-120213'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-120213'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-120213'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).