CVE-2026-104150: Uncontrolled Resource Consumption in @adonisjs/http-server Due to Inefficient Regular Expression Complexity

@adonisjs/http-server Updated 16 Oct 2026

Summary

15/10/2026
Yes i
Moderate
Not published

CVE-2026-104150: AdonisJS HTTP Server: Uncontrolled Resource Consumption and Inefficient Regular Expression Complexity. Affects @adonisjs/http-server across 2 version ranges.

< 8.2.2 >= 9.0.0, < 9.1.1

Fixed in 8.2.2 or 9.1.1, 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The @adonisjs/http-server package is a core component of the AdonisJS framework, designed to handle HTTP requests and routing efficiently. It provides developers with tools to create robust web applications. However, a specific vulnerability in its slug route matcher can lead to significant performance issues, making it susceptible to denial-of-service attacks.

Vulnerability Detail

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the built-in AdonisJS slug route matcher. The regular expression used by router.matchers.slug() contains adjacent greedy quantifiers with overlapping character classes, which can lead to excessive CPU consumption when processing specially crafted URLs. This vulnerability allows an unauthenticated attacker to block the Node.js event loop, preventing the server from handling other requests, including unrelated routes and health-check endpoints. The complexity of the regular expression evaluation is approximately O(n^1.98), resulting in quadratic execution time under certain conditions.

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.2 8.2.2
    npm install @adonisjs/http-server@8.2.2
  • >= 9.0.0, < 9.1.1 9.1.1
    npm install @adonisjs/http-server@9.1.1

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

Workaround

As a temporary workaround, avoid using the router.matchers.slug() for any route parameters that can be controlled by an attacker. Instead, consider implementing a custom slug matcher that does not exhibit the same performance issues.

Conclusion

The CVE-2026-104150 vulnerability in the @adonisjs/http-server package poses a significant risk due to its potential for denial-of-service attacks. It is crucial for developers using this package to update to the latest patched versions to mitigate the risk. Additionally, utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

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

Share this vulnerability

FAQ

CVE-2026-104150 is a vulnerability in the @adonisjs/http-server package that allows for denial-of-service attacks due to inefficient regular expression complexity.

An attacker can exploit this vulnerability by sending specially crafted requests to routes that use the vulnerable slug matcher, causing excessive CPU consumption.

The vulnerability can lead to the Node.js event loop being blocked, preventing the server from processing other requests and potentially causing service outages.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.

If you cannot update the package right away, consider implementing a custom slug matcher or avoid using the vulnerable matcher for any user-controlled parameters as a temporary measure.

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.2 8.2.2
    npm install @adonisjs/http-server@8.2.2
  • >= 9.0.0, < 9.1.1 9.1.1
    npm install @adonisjs/http-server@9.1.1

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