CVE-2026-104150
AdonisJS HTTP Server is a package for handling HTTP requests in the AdonisJS framework.
Published Oct 15, 2026 · updated Oct 15, 2026
### Description A Regular Expression Denial of Service vulnerability in the built-in AdonisJS slug route matcher may allow a remote attacker to block the Node.js event loop using a specially crafted URL. This affects applications using on a route parameter reachable by an attacker. ### Details The regular expression used by contains adjacent greedy quantifiers with overlapping character classes: When the matcher receives a long string ending with a character rejected by the final assertion, the regular expression engine must evaluate many possible ways of dividing the input between the overlapping quantifiers before determining that it does not match. This results in quadratic execution time. Testing measured an approximate complexity of . Route matchers are evaluated against attacker-controlled URL segments during routing. Therefore, an unauthenticated attacker can trigger the vulnerable expression by sending a request to a route configured as follows: Routing occurs before route and group middleware. As a result, authentication or rate-limiting middleware attached to the affected route may not prevent exploitation. The vulnerability is limited to routes that explicitly use the built-in slug matcher. ### Impact Exploitation requires an application to expose a route using with an attacker-controlled parameter. A specially crafted request can cause excessive CPU consumption and block the Node.js event loop. While the expression is being evaluated, the process cannot serve other requests, including requests to unrelated routes or health-check endpoints. Only a small number of requests may be required to consume the capacity of a worker. Reverse-proxy request-line limits reduce the maximum processing time of an individual request but do not fully mitigate the vulnerability. ### Patches Fixes targeting v6 and v7 have been published below. Users should upgrade to a version that includes the following fix: - https://github.com/adonisjs/http-server/releases/tag/v9.1.1 - ht
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 15, 2026 · NIST NVD
Detected
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 cause
Oct 15, 2026 · GitHub Advisory Database
Fix available
@adonisjs/http-server fixed in 9.1.1; @adonisjs/http-server fixed in 8.2.2
Oct 15, 2026 · GitHub Advisory Database
Fix available
@adonisjs/http-server fixed in 9.1.1
Oct 15, 2026 · GitHub Advisory Database
Fix available
@adonisjs/http-server fixed in 8.2.2
Oct 15, 2026 · GitHub Advisory Database
Updated
### Description A Regular Expression Denial of Service vulnerability in the built-in AdonisJS slug route matcher may allow a remote attacker to block the Node.js event loop using a specially crafted URL. This affects applications using on a route parameter reachable by an attacker. ### Details The regular expression used by contains adjacent greedy quantifiers with overlapping character classes: W
Affected
- npm @adonisjsversion unspecified
- npm @adonisjs/http-server0 → 8.2.2
- npm @adonisjs/http-server9.0.0 → 9.1.1
Sources
- CVE.orgVulnerability recordCVE-2026-104150
Official CVE identifier
cve.org - GitHub Advisory DatabasePackage advisoryGHSA-524c-h47v-m3h8
GitHub Advisory Database record mirrored by OSV.
github.com - GitLab Advisory DatabasePackage advisoryCVE-2026-104150
A Regular Expression Denial of Service vulnerability in the built-in AdonisJS slug route matcher may allow a remote attacker to block the Node.js event loop using a specially crafted URL. This affects applications using router.matchers.slug() on a route parameter reachable by an attacker.
advisories.gitlab.com - NIST NVDVulnerability recordCVE-2026-104150
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 ma
nvd.nist.gov - OSV.devPackage advisoryGHSA-524c-h47v-m3h8
AdonisJS HTTP Server: Uncontrolled Resource Consumption and Inefficient Regular Expression Complexity
osv.dev