CVE-2026-120214
published medium CVSS 3.1 · 5.9@fastify/http-proxy vulnerable to prefix escape via percent-encoded backslash dot-segments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/http-proxy | — | @fastify/http-proxy11.6.0 to < 11.6.3 (affected · semver) · 11.6.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| @fastify/http-proxy | @fastify/http-proxy | 11.6.0 to < 11.6.3 (affected · semver)11.6.3 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2Provider assertions
2openjs · cna
@fastify/http-proxy vulnerable to prefix escape via percent-encoded backslash dot-segments
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 425726774c7792654cc5c5f2ba074e1e09f21fd67b3c02d28df54c7b967be353
- Ingested
- 02 Nov 2026, 17:14:37 UTC
- Source record
- Official CVE record