Skip to content
OpenAdvisories
High · 8.7 CVE-2026-104150 EUVD-2026-102320GHSA-524c-h47v-m3h8

AdonisJS HTTP Server: Uncontrolled Resource Consumption and Inefficient Regular Expression Complexity

Published Oct 15, 2026 · Updated Oct 15, 2026 · Assigned by GitHub_M

Description

AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework. Prior to 8.2.2 and 9.1.1, the regular expression returned by router.matchers.slug() contains adjacent greedy repetitions with overlapping character classes. When an application applies this matcher to an attacker-controlled route parameter, a long slug ending in a character rejected by the final assertion causes quadratic backtracking and excessive CPU use. Route matching occurs before route and group middleware, so authentication or rate-limiting middleware attached to the route may not prevent an unauthenticated request from blocking the Node.js event loop and stopping the worker from serving unrelated requests or health checks. This issue is fixed in versions 8.2.2 and 9.1.1.

Affected products

VendorProductAffectedFixed
adonisjs http-server < 8.2.2, >= 9.0.0, < 9.1.1 —

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.1.1 9.1.1 GHSA-524c-h47v-m3h8
npm @adonisjs/http-server < 8.2.2 8.2.2 GHSA-524c-h47v-m3h8

References