Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Habitica local login endpoint
-
DeliveryRotate x-api-user header each request
-
ExploitObtain fresh rate-limiter buckets
-
ExecutionRun unthrottled password guessing
-
ImpactCompromise weak-credential accounts
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Brute-force prevention, rate limiting
|
| Exploitation Conditions | Exploitation requires that the target run Habitica's local (username/password) login route, which is the throttled endpoint; the attacker sends repeated requests to it while supplying a different arbitrary x-api-user header value each time, since rateLimiter.js uses that unvalidated header as the bucket key. No authentication or user interaction is needed (PR:N/UI:N) and default configurations through version 5.53.1 are affected. Limiting factors: this grants only unthrottled guessing - successful account takeover depends on the targeted account using a weak or guessable password, and accounts relying solely on third-party/social authentication are not reachable via the local login brute force. |
| Impact | Signals point to a genuine but moderate-priority issue rather than an emergency. The vendor CVSS 4.0 vector scores 6.3 (medium) with AV:N/AC:H/AT:P/PR:N/UI:N and only Low confidentiality and integrity impact (VC:L/VI:L, availability none), reflecting that the flaw is an unauthenticated remote weakening of a security control rather than direct code execution or data disclosure. The vuln.today decision label is 'this_month', consistent with medium urgency and not act_now/emergency. No CISA KEV listing is present and no EPSS score was provided in the input, so exploitation-probability data is missing; exploitation status is 'no public exploit identified at time of analysis'. The AT:P (attack-requirement present) and Low impacts are the key tempering signals: bypassing the throttle is only the enabler - actual account compromise still depends on guessing a valid weak credential, which is not attacker-controlled. Note the AC:H in the vendor vector is a severity rating and is not explained by the sources; the described trigger (rotating an unvalidated header per request) is mechanically simple, so operators should treat the brute-force enablement as realistically achievable against any account protected only by a weak password. |
| Exploit ScenarioDerived | An unauthenticated attacker targets the local username/password login route of a Habitica instance and issues repeated login attempts, changing the x-api-user header value on each request. Because rateLimiter.js keys its throttle buckets on that unvalidated header, each new value yields a fresh bucket, so the attacker never trips the rate limit and can run a high-volume password-guessing campaign against targeted accounts. No public working exploit is identified at time of analysis, though the VulnCheck advisory and the exact vulnerable source line are public. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Unauthenticated attackers can evade Habitica's login throttling through version 5.53.1 by supplying a different arbitrary x-api-user header value on every request, obtaining a fresh rate-limit bucket each time and enabling unthrottled password guessing against the local username/password login route. The bypass yields unlimited guessing attempts rather than direct account access - takeover still depends on the targeted account using a weak or guessable password, and accounts that rely solely on third-party/social sign-in are not reachable through the local login route - making this a genuine but moderate-priority issue rather than an emergency (vuln.today decision label: this_month). No public exploit code and no confirmed active exploitation were identified at time of analysis.
RemediationAI
No vendor-released patch was identified at time of analysis and the available data lists no fixed version, so check the VulnCheck advisory at https://www.vulncheck.com/advisories/habitica-through-5.53.1-rate-limiter-bypass-via-x-api-user-header and the Habitica repository for an updated release before assuming any version is safe. Until a fix is confirmed, the effective compensating controls target the bucket-key flaw directly: change rateLimiter.js so the throttle key is derived server-side (client IP combined with a validated session identity) rather than the unvalidated x-api-user header - this requires a code change and IP-based keys degrade behind shared NAT or load balancers, so use proxy-aware client-IP resolution and tune limits accordingly. Where the deployment does not need password sign-in, disable the local login route and rely on third-party/social authentication, since those accounts cannot be attacked through this path; the trade-off is that any user who depends on a Habitica password loses the ability to sign in. Restricting the local login endpoint to trusted networks via a reverse-proxy allowlist reduces exposure but makes public self-service sign-in unavailable, and monitoring failed-login volume per source address will not stop the bypass but can surface an attempt in progress.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Habitica's server is a Node.js/Express application whose rate-limiting middleware (website/server/middlewares/rateLimiter.js, lines 91-112 as published in the v5.53.1 source) keys its request buckets on the client-supplied x-api-user header without validating it. Because that header is fully attacker-controlled and can be rotated on every request, each request is treated as belonging to a different user and is granted its own fresh allowance, defeating the throttling that is supposed to protect credential checks. The weakness is CWE-307 (Improper Restriction of Excessive Authentication Attempts): the control exists but is bound to an untrusted identifier instead of a server-derived one. The affected scope is captured by the single CPE cpe:2.3:a:habitrpg:habitica:*:*:*:*:*:*:*:*, i.e. Habitica releases up to and including 5.53.1; exploitation requires the deployment to expose the local username/password login route, which is the endpoint the limiter guards, and requires no credentials or user interaction (PR:N/UI:N). The reported CVSS 4.0 score is 6.3; the independent assessment scores the issue at CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N, treating the attack as straightforward since rotating a header requires no special conditions.
Know when Habitica gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Remote and unauthenticated with a trivial header-rotation trigger (AV:N/AC:L/PR:N/UI:N); impact limited to Low C/I because compromise still hinges on guessing a weak credential, no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Habitica through 5.53.1 contains a rate limiter bypass vulnerability that allows unauthenticated attackers to evade throttling by supplying arbitrary x-api-user header values. Attackers can rotate the unvalidated header per request in rateLimiter.js to obtain fresh buckets and perform unthrottled password guessing against the local login route.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In habitica versions v4.119.0 through v4.232.2 are vulnerable to DOM XSS via the login page. Rated medium severity (CVSS
In habitica versions v4.119.0 through v4.232.2 are vulnerable to open redirect via the login page. Rated medium severity
Habitica is an open-source habit-building program. Rated medium severity (CVSS 5.0), this vulnerability is remotely expl
Habitica is an open-source habit-building program. Rated medium severity (CVSS 5.0), this vulnerability is remotely expl
A regular expression denial of service in Habitica's group member-search endpoint allows an authenticated user to send a
Habitica is an open-source habit-building program. Rated low severity (CVSS 2.0), this vulnerability is remotely exploit
Blind server-side request forgery in Habitica through 5.53.1 lets an authenticated user register a webhook whose URL poi
Habitica through version 5.53.1 fails to escape sender display names when generating the inbox data export, so an authen
EUVD-2026-141689
GHSA-f345-62f6-cx37
NVD
CVE.org
EPSS
Exploit-DB