CVE-2026-117518
published high CVSS 3.1 · 8.2@fastify/reply-from vulnerable to path traversal via backslash dot-segment prefix escape
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/reply-from | — | @fastify/reply-from0 to < 12.8.1 (affected · semver) · 12.8.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions up to and including 12.8.0, the plugin validated proxy paths against forward-slash dot-segments only and then built the target with the WHATWG URL parser, which normalizes a backslash and its percent-encoded form to a forward slash on the http, https, ws, and wss schemes. A path that uses backslash dot-segments therefore bypasses the traversal check and resolves to a different upstream path, so an application that scopes proxying to an upstream prefix, or relies on route guards in front of the forwarding call, can have an unauthenticated request escape the intended prefix and reach other upstream endpoints. The resulting access to unintended upstream resources is primarily a confidentiality impact with limited integrity impact. The issue is fixed in @fastify/reply-from 12.8.1, where the path is normalized and any segment resolving to a single or double dot, along with control characters and ambiguous whitespace, is rejected before the URL is constructed, and users should upgrade to 12.8.1 or later. There is no workaround other than upgrading.
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
- 8.2 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| @fastify/reply-from | @fastify/reply-from | 0 to < 12.8.1 (affected · semver)12.8.1 (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/reply-from vulnerable to path traversal via backslash dot-segment prefix escape
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e04c6dd3bb880b78c51e6ff42d63f289f42597d8c7e522cef67668280e64a3c0
- Ingested
- 02 Nov 2026, 17:04:33 UTC
- Source record
- Official CVE record