Vulnerability · Published Oct 15, 2026 · Assigned by GitHub_M
CVE-2026-104150AdonisJS HTTP Server: Uncontrolled Resource Consumption and Inefficient Regular Expression Complexity
High 8.7
In plain English
A high-severity uncontrolled resource consumption in http-server from adonisjs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @adonisjs/http-server | 9.1.1 | GHSA-524c-h47v-m3h8 |
| npm | @adonisjs/http-server | 8.2.2 | GHSA-524c-h47v-m3h8 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| adonisjs | http-server | < 8.2.2>= 9.0.0, < 9.1.1 |
Weakness: CWE-400, CWE-1333 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/adonisjs/http-server/security/advisories/GHSA-524c-h47v-m3h8 x_refsource_CONFIRM
- https://github.com/adonisjs/http-server/commit/86af38ca861528f673dcac6a4806197de038d1f7 x_refsource_MISC
- https://github.com/adonisjs/http-server/commit/d8c749aa9f66d5d214bad1cad727264aef4be727 x_refsource_MISC
- https://github.com/adonisjs/http-server/releases/tag/v8.2.2 x_refsource_MISC
- https://github.com/adonisjs/http-server/releases/tag/v9.1.1 x_refsource_MISC