Intel

AIKIDO-2026-651997

@adonisjs/http-server is vulnerable to Regular Expression Denial of Service (ReDoS)

Regular Expression Denial of Service (ReDoS)GHSA-524c-h47v-m3h8 Published Yesterday

53

Medium Risk

This Affects:

JS@adonisjs/http-server
0.0.1 - 8.2.1
Fixed in 8.2.2
9.0.0 - 9.1.0
Fixed in 9.1.1
Are you affected? Scan for Free

TL;DR

The built-in slug route matcher uses a regular expression with overlapping quantifiers. Requests to routes that apply the slug matcher to a parameter can supply crafted input that triggers resource exhausting backtracking. Because route matching runs before middleware, the resulting CPU spike blocks the Node.js event loop even for unauthenticated requests, degrading availability. The fix replaces the slug matcher pattern with one that avoids catastrophic backtracking.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application defines routes that apply the built-in slug matcher to user controlled parameters.

Background info

@adonisjs/http-server is vulnerable to Regular Expression Denial of Service (ReDoS) in versions 0.0.1 - 8.2.1 and 9.0.0 - 9.1.0.

How to fix this

Upgrade the @adonisjs/http-server library to the patch version.