Skip to main content

Habitica EUVDEUVD-2026-141689

| CVE-2026-142317 MEDIUM
Improper Restriction of Excessive Authentication Attempts (CWE-307)
2026-12-02 VulnCheck GHSA-f345-62f6-cx37
6.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Habitica local login endpoint
  2. Delivery
    Rotate x-api-user header each request
  3. Exploit
    Obtain fresh rate-limiter buckets
  4. Execution
    Run unthrottled password guessing
  5. Impact
    Compromise 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

habitica 0 ≤5.53.1

Affected Packages

euvd habitica no fix

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

Vendor (VulnCheck) PRIMARY 6.3 MEDIUM
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
open-source, mostly self-hosted habit-tracking app; niche production footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy