Description
AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework. Prior to 8.2.3 and 9.3.0, AdonisJS HTTP Server inserts route parameter values into URLs without encodeURIComponent in the shared createURL() helper used by Router.makeUrl() and Response.redirect().toRoute(). If an application places attacker-controlled data in a dynamic first path segment and uses the generated route URL as a redirect destination, a value beginning with a slash can produce a scheme-relative external URL. Wildcard parameters are affected by the same missing encoding, while APIs intentionally accepting complete redirect URLs are not affected. An attacker can redirect users from a trusted application to an attacker-controlled site, facilitating phishing or abuse of authentication and OAuth flows. This issue is fixed in versions 8.2.3 and 9.3.0.
Published: 2026-10-08
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Open Redirect
Action: Patch
AI Analysis

Impact

AdonisJS HTTP Server accepts route parameter values and inserts them into URLs via a shared createURL() helper without applying encodeURIComponent. If a parameter begins with a slash, the resulting URL becomes scheme‑relative and can point to an external site. This flaw lets an attacker craft a URL that, when used by the framework’s redirect functions, causes a user’s browser to navigate away from the trusted application, enabling phishing or redirecting OAuth flows to malicious domains. The weakness is categorized as CWE‑601, i.e., Open Redirect.

Affected Systems

The vulnerability affects the AdonisJS HTTP Server package used in AdonisJS applications. Versions prior to 8.2.3 and prior to 9.3.0 are impacted. The package is identified by the CNA vendor name adonisjs and the product http‑server.

Risk and Exploitability

The CVSS score is 6.1, indicating a high impact potential when exploited. EPSS data is not available, so the current exploitation probability is unknown, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw relies on developer‑controlled route parameters, it can be triggered whenever an attacker-controlled value is inserted into a dynamic first path segment that is subsequently used as a redirect destination. The lack of URL encoding provides a straightforward attack path that is easy to exploit without additional privileges.

Generated by OpenCVE AI on October 8, 2026 at 22:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch that brings the application to version 8.2.3 or 9.3.0 of AdonisJS HTTP Server, which adds encodeURIComponent to route parameter handling.
  • If an immediate upgrade is not feasible, enforce input validation on all route parameters that are passed to redirect methods, ensuring they do not begin with a slash or contain characters that could form a fully qualified or scheme‑relative URL.
  • Configure the application to use a whitelist of allowed redirect URLs for any externally controlled redirects, rejecting or normalizing any URLs that are not in the whitelist.

Generated by OpenCVE AI on October 8, 2026 at 22:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-2m6q-8v3h-jqww AdonisJS: Unencoded route parameters can produce open redirects
History

Wed, 14 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 14 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 08 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Adonisjs
Adonisjs http-server
Vendors & Products Adonisjs
Adonisjs http-server

Thu, 08 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
Description AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework. Prior to 8.2.3 and 9.3.0, AdonisJS HTTP Server inserts route parameter values into URLs without encodeURIComponent in the shared createURL() helper used by Router.makeUrl() and Response.redirect().toRoute(). If an application places attacker-controlled data in a dynamic first path segment and uses the generated route URL as a redirect destination, a value beginning with a slash can produce a scheme-relative external URL. Wildcard parameters are affected by the same missing encoding, while APIs intentionally accepting complete redirect URLs are not affected. An attacker can redirect users from a trusted application to an attacker-controlled site, facilitating phishing or abuse of authentication and OAuth flows. This issue is fixed in versions 8.2.3 and 9.3.0.
Title AdonisJS: Unencoded route parameters can produce open redirects
Weaknesses CWE-601
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}


Subscriptions

Adonisjs Http-server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-14T01:24:14.635Z

Reserved: 2026-10-08T17:21:52.975Z

Link: CVE-2026-107718

cve-icon Vulnrichment

Updated: 2026-10-14T01:24:09.863Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-08T22:17:27.747

Modified: 2026-10-14T02:16:57.740

Link: CVE-2026-107718

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-08T21:39:54Z

Links: CVE-2026-107718 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T23:00:15Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')