Home / @fastify/http-proxy / @fastify/http-proxy / CVE-2026-15631
CVE-2026-15631: is it exploited, and which versions of @fastify/http-proxy are affected and fixed?
CVE-2026-15631 is a path traversal (reading or writing files outside the intended folder) vulnerability in @fastify/http-proxy. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: @fastify/http-proxy from 9.4.0 before 11.6.0 (CVE record by openjs). Fixed in 11.6.0 (CVE record by openjs). Severity: High (8.7, CVSS 3.1, from openjs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-15631?
@fastify/http-proxy vulnerable to prefix escape via WebSocket path traversal
Impact: @fastify/http-proxy versions from 9.4.0 up to and including 11.5.0 fail to validate the resolved WebSocket destination path against the configured rewrite prefix. The WebSocket routing path in WebSocketProxy.findUpstream resolves the destination via the WHATWG URL constructor, which collapses dot segments, so a crafted upgrade request with path traversal sequences can escape the rewrite prefix and reach upstream endpoints that were not meant to be exposed by the proxy. This is a variant of CVE-2021-21322 in a code path that never went through the HTTP fix in fastify/reply-from. Exploitation requires a non-normalizing WebSocket client, since browsers and the ws package normalize the request path before sending, but raw HTTP clients or downstream proxies that forward the request target unchanged make the attack reachable in production topologies. Patches: upgrade to @fastify/http-proxy 11.6.0. Workarounds: none.
From the CVE record by openjs, last updated July 20, 2026, 15:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| @fastify/http-proxy | @fastify/http-proxy | from 9.4.0 before 11.6.0 | 11.6.0 |
As the CVE record by openjs states it, last updated July 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| fastify | fastify\/http-proxy | from 9.4.0 before 11.6.0 | application |
NVD analysis (status Analyzed), last modified July 28, 2026, 15:42 UTC.
How severe is CVE-2026-15631?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N | openjs |
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-15631 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, July 20, 2026)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 27.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-7hrw-592w-9wh2
- https://cna.openjsf.org/security-advisories.html
Who found and reported it?
- Universe-Theori (reporter)
- UlisesGascon (remediation developer)
- mcollina (remediation reviewer)
- teammyinside (reporter)
- climba03003 (remediation reviewer)
- KuniNogu (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- July 13, 2026
- Published
- July 18, 2026, 12:46 UTC
- CVE record updated
- July 20, 2026, 15:15 UTC by openjs
- NVD
- Analyzed, last modified July 28, 2026, 15:42 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect @fastify/http-proxy?
- Nov 19, 2026CVE-2026-129500 @fastify/http-proxy: uncaught exception (crash)
- Nov 19, 2026CVE-2026-129502 @fastify/http-proxy: uncaught exception (crash)
- Nov 19, 2026CVE-2026-127060 @fastify/http-proxy: path traversal (reading or writing files outside the intended folder)
- Nov 19, 2026CVE-2026-133111 @fastify/http-proxy: missing Origin Validation in WebSockets
- Nov 19, 2026CVE-2026-130647 @fastify/http-proxy: uncaught exception (crash)
- Nov 2, 2026CVE-2026-120213 @fastify/http-proxy: path traversal (reading or writing files outside the intended folder)
- Nov 2, 2026CVE-2026-120214 @fastify/http-proxy: path traversal (reading or writing files outside the intended folder)
- Sep 3, 2026CVE-2026-85124 @fastify/http-proxy: path traversal (reading or writing files outside the intended folder)
Every CVE in @fastify/http-proxy
Questions about CVE-2026-15631
Is CVE-2026-15631 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of @fastify/http-proxy are affected by CVE-2026-15631?
@fastify/http-proxy from 9.4.0 before 11.6.0, per the CVE record by openjs. The tables above give every range the sources list.
Which version fixes CVE-2026-15631?
11.6.0, per the CVE record by openjs. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-15631?
High (8.7, CVSS 3.1, from openjs). The severity table above shows each score with its source.
Where is the official record of CVE-2026-15631?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.