# CVE-2026-107718: AdonisJS open redirect via unencoded route parameters

Source: https://junglewise.ai/threats/cve-2026-107718-adonisjs-unencoded-route-parameters-can-produce-open-redirects  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-08. Updated: 2026-10-08  
License: CC BY 4.0 with a link back

CVE-2026-107718 · Severity: medium · CVSS 6.1 · Published 2026-10-08

AdonisJS is a Node.js web framework that uses route parameters to build URLs for redirects and links. When an application passes untrusted user input as a route parameter, an attacker can inject a path starting with "/" that causes the browser to redirect to an attacker-controlled website. This can be exploited for phishing attacks or to redirect users away from OAuth login flows.

Technologies: [AdonisJS Http-Server](https://junglewise.ai/threats/technologies/adonisjs-http-server-2), [@adonisjs/http-server (npm)](https://junglewise.ai/threats/technologies/adonisjs-http-server). Vendors: [AdonisJS](https://junglewise.ai/threats/vendors/adonisjs), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-107718 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-107718 being exploited in the wild.

**How severe is CVE-2026-107718?** Medium severity, with a CVSS score of 6.1, published 8 October 2026.

**Which products and versions are affected?** AdonisJS Http-Server before 8.2.3, before 9.3.0; @adonisjs/http-server (npm) SEMVER:introduced=9.0.0,fixed=9.3.0.

**Is there a fix for CVE-2026-107718?** Yes. @adonisjs/http-server (npm): upgrade to 9.3.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-107718 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-107718?** Check whether you run AdonisJS Http-Server or @adonisjs/http-server (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @adonisjs/http-server (npm): upgrade to 9.3.0 or later

  ```sh
  npm install @adonisjs/http-server@9.3.0
  ```


## Technical details

The vulnerability exists in the shared createURL() helper used by Router.makeUrl() and Response.redirect().toRoute(), which fails to URI-encode route parameter values before appending them to URL segments. An attacker supplying a route parameter value like "/evil.example.com" causes the framework to generate a scheme-relative URL ("//evil.example.com") that browsers treat as an external redirect. Exploitation requires the application to define a route with a dynamic first path segment and pass request-derived data to that segment when constructing a redirect URL.

## Affected products

- AdonisJS http-server before 8.2.3, before 9.3.0

## Identifiers

- CVE-2026-107718
- GHSA-2m6q-8v3h-jqww

## Timeline

- 2026-10-08: disclosed

## Related threats

- [AdonisJS HTTP Server ReDoS in slug route matcher](https://junglewise.ai/threats/cve-2026-104150-adonisjs-http-server-uncontrolled-resource-consumption-and)
- [@adonisjs/http-server has an Open Redirect vulnerability](https://junglewise.ai/threats/cve-2026-40255-adonisjs-http-server-has-an-open-redirect-vulnerability)
