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.
Published: 2026-10-15
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via controlled route matching
Action: Immediate Patch
AI Analysis

Impact

The AdonisJS HTTP Server package contains a regular expression used by router.matchers.slug() that has overlapping greedy repetitions. When an attacker supplies a specially crafted path segment, the regex performs quadratic backtracking, consuming excessive CPU time and blocking the Node.js event loop. This can stop the worker from serving other requests or health checks, effectively creating a denial‑of‑service condition. The issue is triggered before any authentication or rate‑limiting middleware runs, so it can be exploited by unauthenticated users. The root weakness corresponds to CWE‑1333 (Array Indexing) and CWE‑400 (Uncontrolled Resource Consumption).

Affected Systems

All applications that use the AdonisJS HTTP Server package earlier than version 8.2.2 or 9.1.1 are impacted. The software originates from the adonisjs:http-server project and is deployed within projects built on the AdonisJS framework. No other vendors or product versions are currently identified as affected.

Risk and Exploitability

The vulnerability scored 8.7 on the CVSS v3 scale, indicating high severity. EPSS data is presently not available, and the flaw has not been listed in the CISA KEV catalog, but the exploit potential remains high because it can be triggered by plain HTTP requests. An attacker with network access to the application can send crafted URLs that overflow the regular expression engine, causing sustained CPU usage and a denial of service. Because the attack occurs before any authentication or limiting middleware, it requires no privileged access and can be executed from any untrusted source.

Generated by OpenCVE AI on October 16, 2026 at 06:39 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the AdonisJS HTTP Server package to version 8.2.2 or later, or to version 9.1.1 or later, which removes the problematic regular expression.
  • If an immediate upgrade is not possible, deploy request‑rate limiting or concurrency controls at the edge or within the Node.js application to constrain the CPU time available to any single request and mitigate the impact of backtracking.
  • Add explicit validation or length checks on route parameters before they reach router.matchers.slug(), ensuring that excessively long or malformed slugs are rejected early in the request pipeline.

Generated by OpenCVE AI on October 16, 2026 at 06:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-524c-h47v-m3h8 AdonisJS HTTP Server: Uncontrolled Resource Consumption and Inefficient Regular Expression Complexity
History

Fri, 16 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Thu, 15 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title AdonisJS HTTP Server: Uncontrolled Resource Consumption and Inefficient Regular Expression Complexity
Weaknesses CWE-1333
CWE-400
References
Metrics cvssV4_0

{'score': 8.7, '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-15T19:52:22.221Z

Reserved: 2026-10-01T18:47:30.997Z

Link: CVE-2026-104150

cve-icon Vulnrichment

Updated: 2026-10-15T19:52:18.862Z

cve-icon NVD

Status : Received

Published: 2026-10-15T19:17:14.603

Modified: 2026-10-15T20:17:06.013

Link: CVE-2026-104150

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-15T18:42:54Z

Links: CVE-2026-104150 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T06:45:14Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

  • CWE-400

    Uncontrolled Resource Consumption