Summary
CVE-2026-104150 is a Regular Expression Denial of Service (ReDoS) vulnerability in the AdonisJS HTTP Server (@adonisjs/http-server), in the built-in router.matchers.slug() route matcher. It is rated High severity (CVSS 8.7) and can be exploited remotely without authentication to block the Node.js event loop.
Technical details
- Root cause: the regular expression returned by
router.matchers.slug()has adjacent greedy repetitions with overlapping character classes. This causes quadratic backtracking on crafted input (CWE-1333, CWE-400). - Trigger conditions: the application uses
router.matchers.slug()on a route parameter that an attacker can reach, and the attacker supplies a long slug that ends in a character the final assertion rejects. - Attack vector: a crafted request URL sent over the network. Route matching runs before route and group middleware, so authentication or rate-limiting middleware may not stop the request.
- Impact: availability only. While the expression is evaluated, the Node.js process cannot serve other requests, including unrelated routes and health checks.
Affected software
@adonisjs/http-serverversions earlier than 8.2.2@adonisjs/http-serverversions from 9.0.0 up to, but not including, 9.1.1
Severity
- CVSS v4.0 base score 8.7 (High):
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 - The CVE record provides a CVSS v4.0 vector. No CVSS v3.1 vector was published in the sources reviewed.
Mitigation and recommended actions
- Immediate: upgrade
@adonisjs/http-serverto 8.2.2 (8.x line) or 9.1.1 (9.x line), or later. - If you cannot patch right away: avoid using
router.matchers.slug()on publicly reachable route parameters. This is a general precaution, not a vendor-documented workaround. - IONIX identifies assets by AdonisJS session cookies. This does not show that the vulnerable matcher is in use, so review application routes and the installed package version.

