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.
Published: 2026-09-24
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Application Denial of Service via Regular Expression Denial of Service
Action: Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Fri, 25 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Habitica
Habitica habitica
Vendors & Products Habitica
Habitica habitica

Thu, 24 Sep 2026 17:45:00 +0000

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


Subscriptions

Habitica Habitica
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-24T17:37:59.280Z

Reserved: 2026-06-15T15:30:40.318Z

Link: CVE-2026-54461

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T18:17:13.820

Modified: 2026-09-24T18:17:13.820

Link: CVE-2026-54461

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T14:16:32Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity