CVE-2026-54461

Habitica: Regex Injection / ReDoS in Member Search

Published Sep 24, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Habitica is a habit tracker application that treats goals like a role-playing game. From 4.172.1 until 5.48.2, a query parameter on Habitica's /api/v3/groups/:groupId/members route is not sanitized before being interpreted as a regular expression. An authenticated caller can supply a computationally expensive regular expression that degrades application performance or halts Node.js processes. This issue is fixed in version 5.48.2.

Analysis

AI-generated

Technical impact

Habitica’s /api/v3/groups/:groupId/members endpoint does not sanitize a query parameter before interpreting it as a regular expression, allowing an authenticated caller to send an expensive expression that consumes excessive CPU or memory. The resulting slowdown can degrade overall application performance or terminate Node.js processes, effectively denying service to all users of the affected group.

Affected Systems

Version 4.172.1 through 5.48.2 of HabitRPG’s Habitica contains the flaw. Any authenticated user who can query the member list of a group can trigger the issue via the /api/v3/groups/:groupId/members route. The fix was released with version 5.48.2.

Risk and Exploitability

The CVSS score of 6.5 classifies the vulnerability as moderate severity; EPSS data is not available, and the flaw is not listed in CISA KEV. Because the attack requires authentication, the likelihood of exploitation depends on the presence of privileged accounts or compromised credentials. A successful attack would cause a denial of service by exhausting node resources or halting the process, impacting all users of the affected application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Habitica to version 5.48.2 or later to apply the official fix
  • Limit access to the member search endpoint to authenticated and trusted users only, or temporarily block the route if an upgrade is delayed
  • Introduce input validation or regex timeout mechanisms to reject overly complex or long regular expressions

Generated by OpenCVE AI on September 25, 2026 at 06:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Habitica
Habitica habitica
Vendors & Products Habitica
Habitica habitica
Type Values Removed Values Added
Description Habitica is a habit tracker application that treats goals like a role-playing game. From 4.172.1 until 5.48.2, a query parameter on Habitica's /api/v3/groups/:groupId/members route is not sanitized before being interpreted as a regular expression. An authenticated caller can supply a computationally expensive regular expression that degrades application performance or halts Node.js processes. This issue is fixed in version 5.48.2.
Title Habitica: Regex Injection / ReDoS in Member Search
Weaknesses CWE-1333
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 28, 2026, 2:57 PM
Reserved
Jun 15, 2026, 3:30 PM
Status
Deferred
Published
Sep 24, 2026, 6:17 PM
Modified
Sep 30, 2026, 7:57 PM