CVE-2026-104150

AdonisJS HTTP Server: Uncontrolled Resource Consumption and Inefficient Regular Expression Complexity

Published Oct 15, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
First Time appeared Adonisjs
Adonisjs http-server
Vendors & Products Adonisjs
Adonisjs http-server
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

Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 15, 2026, 7:52 PM
Reserved
Oct 1, 2026, 6:47 PM
Status
Awaiting Analysis
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 16, 2026, 4:00 PM
Severity
Important
Public date
Oct 15, 2026, 6:42 PM