Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-107718 EUVD-2026-95342GHSA-2m6q-8v3h-jqww

AdonisJS: Unencoded route parameters can produce open redirects

Published Oct 8, 2026 · Updated Oct 14, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
adonisjs http-server < 8.2.3, >= 9.0.0, < 9.3.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 httpd No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @adonisjs/http-server >= 9.0.0, < 9.3.0 9.3.0 GHSA-2m6q-8v3h-jqww
npm @adonisjs/http-server < 8.2.3 8.2.3 GHSA-2m6q-8v3h-jqww

References