CVE-2026-117518Fastify Reply From @fastify/reply-from path traversal
CVSS score
8.2
High
CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb
Exploit probability (EPSS)
0.46%
0.46% chance of exploitation in the next 30 days, higher than 41.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb
How to fix it, step by step
Check whether you're affected
Find every system running @fastify/reply-from and compare its version with the affected versions.
Update to a fixed version
- Update @fastify/reply-from to 12.8.1 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| @fastify/reply-from @fastify/reply-from | < 12.8.1 |
Weakness
- CWE-22 path traversal
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-117518 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-117518?
CVE-2026-117518 has a CVSS 3.1 base score of 8.2 (high).
Which versions are affected?
Fastify Reply From @fastify/reply-from (< 12.8.1)
Is there a patch for CVE-2026-117518?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.