CVE-2026-107718: AdonisJS HTTP Server Unencoded Route Parameters Lead to Open Redirects

@adonisjs/http-server Updated 09 Oct 2026

Summary

08/10/2026
Yes i
Moderate
6.1

CVE-2026-107718: AdonisJS: Unencoded route parameters can produce open redirects. Affects @adonisjs/http-server across 2 version ranges.

< 8.2.3 >= 9.0.0, < 9.3.0

Fixed in 8.2.3 or 9.3.0, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

AdonisJS is a Node.js MVC framework that provides a robust set of tools for building web applications. The @adonisjs/http-server package is responsible for handling HTTP requests and responses, including routing. This package is widely used in AdonisJS applications to manage routes and serve content. However, it has a vulnerability that allows unencoded route parameters to create open redirects, potentially leading to security issues.

Vulnerability Detail

The vulnerability arises from the way route parameters are inserted into generated URLs without proper URI encoding. When an application uses dynamic route segments and passes untrusted input, an attacker can craft a malicious input that begins with a forward slash ('/'). This can lead to the generation of a scheme-relative URL, causing the application to redirect users to an external site controlled by the attacker. For example, a redirect to '/evil.example.com' would be interpreted by browsers as 'https://evil.example.com', facilitating phishing attacks and potentially compromising user credentials.

How To Fix

Latest published version: 9.3.1 as of 22 Oct 2026

npm install @adonisjs/http-server@9.3.1

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 8.2.3 8.2.3
    npm install @adonisjs/http-server@8.2.3
  • >= 9.0.0, < 9.3.0 9.3.0
    npm install @adonisjs/http-server@9.3.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If you cannot immediately update the package, you can implement a temporary workaround by manually encoding route parameters before passing them to the redirect function. For example:

response.redirect().toRoute('pages.show', { page: encodeURIComponent('/evil.example.com') });

This ensures that the malicious input is encoded and does not lead to an open redirect.

Conclusion

The vulnerability CVE-2026-107718 in the @adonisjs/http-server package allows for open redirects due to unencoded route parameters. It is crucial for developers using this package to update to the latest patched versions to mitigate the risk of exploitation. Implementing the suggested workarounds can provide temporary relief until the update is applied.

See every vulnerability recorded for @adonisjs/http-server →

Share this vulnerability

FAQ

An open redirect is a vulnerability that allows an attacker to redirect users to an external site without their consent, often leading to phishing attacks.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

The vulnerability can lead to phishing attacks, where users are redirected to malicious sites, potentially compromising their personal information and credentials.

No, the vulnerability affects versions prior to v9.3.0 and v8.2.3. Updating to these versions will resolve the issue.

The CVSS score of this vulnerability is 6.1, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for @adonisjs/http-server.

How To Fix

Latest published version: 9.3.1 as of 22 Oct 2026

npm install @adonisjs/http-server@9.3.1

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 8.2.3 8.2.3
    npm install @adonisjs/http-server@8.2.3
  • >= 9.0.0, < 9.3.0 9.3.0
    npm install @adonisjs/http-server@9.3.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback