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

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, @adonisjs/http-server (npm). Vendors: AdonisJS, 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
    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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.