CVE-2026-104150
CVE-2026-104150 · AdonisJS HTTP Server: Uncontrolled Resource Consumption and Inefficient Regular Expression Complexity
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.7 · High · EPSS 0.4% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
http-server
- Versions
- < 8.2.2: Affected
- >= 9.0.0, < 9.1.1: Affected
No fix published
@adonisjs/http-server npm
- Affected ranges
- SEMVER: ≥ 9.0.0, < 9.1.1
Update to 9.1.1
@adonisjs/http-server npm
- Affected ranges
- SEMVER: < 8.2.2
Update to 8.2.2
Original sources
- https://github.com/adonisjs/http-server/security/advisories/GHSA-524c-h47v-m3h8
- https://github.com/adonisjs/http-server/commit/86af38ca861528f673dcac6a4806197de038d1f7
- https://github.com/adonisjs/http-server/commit/d8c749aa9f66d5d214bad1cad727264aef4be727
- https://github.com/adonisjs/http-server/releases/tag/v8.2.2
- https://github.com/adonisjs/http-server/releases/tag/v9.1.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-104150