# CVE-2026-120214: @fastify/http-proxy vulnerable to prefix escape via percent-encoded backslash dot-segments

- Severity: Medium 5.9 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-11-02T10:07:08.695Z
- Modified: 2026-11-02T17:17:39.600Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

## Description

@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 11.6.0 through 11.6.2, the destination validation normalizes literal backslashes before it percent-decodes the request path, so a path that encodes its backslashes and dot-segments survives the dot-segment check and is only turned into backslash and double-dot sequences after that check has passed. When the upstream resolves on a platform that treats a backslash as a path separator, the forwarded request walks out of the configured proxy prefix and reaches a sibling location on the upstream. An unauthenticated remote attacker can use this to retrieve upstream resources outside the intended prefix, so the impact is confidentiality only, and exploitation depends on the upstream's path handling. The issue is fixed in @fastify/http-proxy 11.6.3, and users should upgrade to 11.6.3 or later. This is a follow-up to the earlier prefix-escape fix, which did not account for the encoded-backslash form.

(As written by CVE List.)

## Affected

- @fastify/http-proxy @fastify/http-proxy: from 11.6.0 before 11.6.3 (not affected: 11.6.3)

## References

- <https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-hr26-gmr2-pwcv>
- <https://cna.openjsf.org/security-advisories.html>

## Sources

- CVE List: [CVE-2026-120214](https://www.cve.org/CVERecord?id=CVE-2026-120214), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-120214](https://nvd.nist.gov/vuln/detail/CVE-2026-120214), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-120214 · Whole record: https://cve.day/CVE-2026-120214.json · Rebuilt by cve.day 2026-11-25T22:59:48.170Z
